From 35185452d7546ab56aa0040d7c2d68795c3f813f Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 6 Apr 2008 17:25:52 +0000 Subject: - synchronizuju sa aj veci - preklady obsahuju aj font a velkost pismen - upravy aby to slo ( po stahnut tejto verzii sa hra musi odinstalovat a znova naonstalovat ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@43 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/gun.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/gun.c') diff --git a/src/gun.c b/src/gun.c index fbbeeb3..b46b995 100644 --- a/src/gun.c +++ b/src/gun.c @@ -60,11 +60,6 @@ static void addShotTrivial(tux_t *tux, int x, int y, int px, int py, int gun) int dest_px = 0, dest_py = 0; shot_t *shot; - if( getNetTypeGame() == NET_GAME_TYPE_CLIENT ) - { - return; - } - modificiationCopuse(tux->position, px, py, &dest_px, &dest_py); modificiationCopuse(tux->position, x, y, &dest_x, &dest_y); @@ -96,6 +91,11 @@ static void addShot(tux_t *tux,int x, int y, int px, int py) { int gun; + if( getNetTypeGame() == NET_GAME_TYPE_CLIENT ) + { + return; + } + if( tux->gun == GUN_LASSER ) { gun = GUN_LASSER; @@ -253,7 +253,6 @@ static void putInGunMine(tux_t *tux) appendTextInTerm(msg); #endif - tux->shot[tux->gun]--; if( getNetTypeGame() != NET_GAME_TYPE_CLIENT ) -- cgit v1.2.3