diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-05-24 22:08:18 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-05-24 22:20:04 +0200 |
| commit | d07b682c9b283216d4c2d1f046483b165958d929 (patch) | |
| tree | 53ca549248e4239da55af3a5aa451125c98f4d1c /src/game | |
| parent | f34113de515522dd76709403be5015698c6fbd29 (diff) | |
| download | jancity-d07b682c9b283216d4c2d1f046483b165958d929.tar.gz | |
Make gfx_draw return int
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/src/game.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/src/game.c b/src/game/src/game.c index e1a316e..dede611 100644 --- a/src/game/src/game.c +++ b/src/game/src/game.c @@ -94,7 +94,9 @@ int game(void) } instance_cyclic(); - gfx_draw(); + + if (gfx_draw()) + goto end; } ret = 0; |
