summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-20 20:22:41 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-20 20:22:41 +0000
commit1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa (patch)
tree1c6720eb14074cd0be263a75f1c547b83bfaa420 /src/tux.c
parentdbf67486087dea9c501014247a82244a44213582 (diff)
- uprava sietoveho protokola
- novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient <max clients> - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tux.c b/src/tux.c
index 2c9c6a0..9672f28 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -679,8 +679,8 @@ static void eventBonus(tux_t *tux)
tux->bonus_time--;
}
- if( tux->bonus_time == 0 )
- {
+ if( tux->bonus_time == 0 && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
if( tux->bonus == BONUS_GHOST )
{
int x, y, w, h;