mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Found a bug in nullgame! Its vestigial game_redraw lacked a
draw_update, which isn't really setting a good example for people cloning it :-) Add the missing draw_update call. [originally from svn r9776]
This commit is contained in:
@ -224,6 +224,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate,
|
|||||||
* covering the whole window.
|
* covering the whole window.
|
||||||
*/
|
*/
|
||||||
draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND);
|
draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND);
|
||||||
|
draw_update(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize);
|
||||||
}
|
}
|
||||||
|
|
||||||
static float game_anim_length(game_state *oldstate, game_state *newstate,
|
static float game_anim_length(game_state *oldstate, game_state *newstate,
|
||||||
|
Reference in New Issue
Block a user