From 6dbcded21e7e9614b967b922987be6bcf3f3fe58 Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 4 Apr 2008 18:46:15 +0000 Subject: - moznost nastavit si klavesy na ovladanie v ~/.tuxanci-ng/keycontrol.conf - moznost prekladat texty do roznych jazykov, defult jazyk je EN, nastavenie je v ~/.tuxanci-ng/lang.conf - moznost nastavit server pomocou konfiguraku ./server.conf - uptime v sekudach a samorestartovaci casocvac tam este _NIE_ _JE_ git-svn-id: http://opensvn.csie.org/tuxanci_ng@39 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/gun.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gun.c') diff --git a/src/gun.c b/src/gun.c index 9433b4c..fbbeeb3 100644 --- a/src/gun.c +++ b/src/gun.c @@ -1,4 +1,4 @@ - +// #include #include #include @@ -181,7 +181,7 @@ static void shotInGunTommy(tux_t *tux) for( i = 0 ; i < 10 ; i++ ) { - addTimer(getCurrentArena()->listTimer, timer_addShotTimer, newInt(tux->id), i * 100 ); + addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addShotTimer, newInt(tux->id), i * 100 ); } } @@ -212,7 +212,7 @@ static void shotInGunLasser(tux_t *tux) for( i = 0 ; i < 50 ; i++ ) { - addTimer(getCurrentArena()->listTimer, timer_addLaserTimer, newInt(tux->id), i * 10 ); + addTaskToTimer(getCurrentArena()->listTimer, TIMER_ONE, timer_addLaserTimer, newInt(tux->id), i * 10 ); } } -- cgit v1.2.3