summaryrefslogtreecommitdiff
path: root/src/screen/world.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen/world.c')
-rw-r--r--src/screen/world.c9
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;