diff options
Diffstat (limited to 'src/screen/world.c')
| -rw-r--r-- | src/screen/world.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/screen/world.c b/src/screen/world.c index d573448..c3ccd8c 100644 --- a/src/screen/world.c +++ b/src/screen/world.c @@ -111,6 +111,15 @@ void world_inc_round() } } +bool_t world_is_match_end() +{ + if (arena->max_countRound == WORLD_COUNT_ROUND_UNLIMITED) { + return FALSE; + } + + return (arena->countRound >= arena->max_countRound); +} + void prepareArena() { tux_t *tux; |