diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-04-06 17:25:52 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-04-06 17:25:52 +0000 |
| commit | 35185452d7546ab56aa0040d7c2d68795c3f813f (patch) | |
| tree | 275025e31e94ed999019a12307dccf4fc6f9fc6a /src/gun.c | |
| parent | f3cc2306be924ba521243d38d2cdea8297bdf1eb (diff) | |
- 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
Diffstat (limited to 'src/gun.c')
| -rw-r--r-- | src/gun.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 ) |