diff options
author | yzrh <yzrh@noema.org> | 2021-01-29 21:52:29 +0000 |
---|---|---|
committer | yzrh <yzrh@noema.org> | 2021-01-29 21:52:29 +0000 |
commit | 89cdfb6f237c2472999a3647dab3664c4e51472e (patch) | |
tree | a7edfef6387dac8be5d5d6399d34130fe8bd7173 /src/snake-sdl.c | |
parent | 22a1fd45694a17f735c3eab5a677ed80b824a5b4 (diff) | |
download | snake-sdl-89cdfb6f237c2472999a3647dab3664c4e51472e.tar.gz snake-sdl-89cdfb6f237c2472999a3647dab3664c4e51472e.tar.zst |
Update CFLAGS for GCC 10.
Diffstat (limited to 'src/snake-sdl.c')
-rw-r--r-- | src/snake-sdl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/snake-sdl.c b/src/snake-sdl.c index 8ec1aa7..28268e0 100644 --- a/src/snake-sdl.c +++ b/src/snake-sdl.c @@ -1415,8 +1415,7 @@ main(void) text_score.cache = 0; if (flappy) { - delay.tv_nsec = TICK_TIME_INIT / - SCREEN_UNIT; + delay.tv_nsec /= SCREEN_UNIT; game_snake_init(&snake0, 0); |