summaryrefslogtreecommitdiff
path: root/src/base/shot.c
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-18 21:50:13 +0000
commit9c71274e5c4cde5dd99a0eb927243f6c481df1f2 (patch)
tree17d77f14943b7f463145a5550330b56f0ea9548b /src/base/shot.c
parent9acea18a3a920b781414ba44e1e1651ea760867b (diff)
- hromada preklapeni na gettext
- zbyva odstranit language funkci - pak uz zbyva pouze rozchodit uplne gettext a vyrobit preklady git-svn-id: http://opensvn.csie.org/tuxanci_ng@222 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/shot.c')
-rw-r--r--src/base/shot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/shot.c b/src/base/shot.c
index 244da70..955330e 100644
--- a/src/base/shot.c
+++ b/src/base/shot.c
@@ -125,7 +125,7 @@ shot_t* newShot(int x,int y, int px, int py, int gun, int author_id)
break;
default :
- assert( ! "Premenna weapon ma zlu hodnotu !" );
+ assert( ! _("Type variable has a really wierd value!") );
break;
}
@@ -313,7 +313,9 @@ static void action_check(space_t *space, shot_t *shot, client_t *client)
if( isValueInList(client->listSeesShot, shot->id) == 0 )
{
addList(client->listSeesShot, newInt(shot->id) );
+#ifdef DEBUG
printf("proto_send_shot_server(PROTO_SEND_ONE, client, shot);\n");
+#endif
proto_send_shot_server(PROTO_SEND_ONE, client, shot);
}
}