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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screen_world.c b/src/screen_world.c
index 589161e..bd68596 100644
--- a/src/screen_world.c
+++ b/src/screen_world.c
@@ -69,6 +69,7 @@ void setWorldArena(int id)
void setMaxCountRound(int n)
{
+ printf("max_count = %d\n", n);
max_count = n;
}
@@ -135,7 +136,7 @@ void prepareArena()
{
case NET_GAME_TYPE_NONE :
setWorldArena( getChoiceArenaId() );
- addNewItem(arena->listItem, NULL);
+ addNewItem(arena->listItem, ID_UNKNOWN);
getSettingCountRound(&max_count);
tux = newTux();
@@ -151,7 +152,7 @@ void prepareArena()
case NET_GAME_TYPE_SERVER :
setWorldArena( getChoiceArenaId() );
- addNewItem(arena->listItem, NULL);
+ addNewItem(arena->listItem, ID_UNKNOWN);
getSettingCountRound(&max_count);
tux = newTux();