summaryrefslogtreecommitdiff
path: root/src/screen/world.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
committerMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
commit753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch)
treecfbded574ded7c3c666de6211877469ff6a95d75 /src/screen/world.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/screen/world.c')
-rw-r--r--src/screen/world.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen/world.c b/src/screen/world.c
index f368c41..a37da1b 100644
--- a/src/screen/world.c
+++ b/src/screen/world.c
@@ -68,7 +68,7 @@ void setGameType()
public_server_get_settingPort(), public_server_get_settingProto());
if (ret != 0) {
- fprintf(stderr, _("[Error] Unable to initialize network\n"));
+ error("Unable to initialize network");
world_do_end();
}
}
@@ -317,7 +317,7 @@ void world_tux_control(tux_t *p)
switch (p->control) {
case TUX_CONTROL_NONE:
- assert(!_("[Error] Controls not defined"));
+ fatal("Controls not defined");
break;
case TUX_CONTROL_KEYBOARD_RIGHT:
@@ -502,6 +502,6 @@ void world_init()
void world_quit()
{
- DEBUG_MSG(_("[Debug] Shutting down the world screen\n"));
+ debug("Shutting down the world screen");
isScreenWorldInit = FALSE;
}