From 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 20 Mar 2008 20:22:41 +0000 Subject: - uprava sietoveho protokola - novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/tux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tux.c') 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; -- cgit v1.2.3