diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-05-28 19:25:15 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-05-28 19:25:15 +0000 |
| commit | e5120505b21ff38dc25efcad129a440bbfa9996d (patch) | |
| tree | 583e0683fb1f71f65bb81b0fcdf2e71587e1fe46 /modules | |
| parent | c94fd664bba352732bf0e5c9a77e709b49f1aa4f (diff) | |
- zrychlenie hry, bez toho aby sa menila rychlost hlavneho casovaca
- oprava chyby v ID managery
- ID manager spravuje ID-y pre vsetky objekty
git-svn-id: http://opensvn.csie.org/tuxanci_ng@55 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'modules')
| -rwxr-xr-x | modules/modPipe.c | 5 | ||||
| -rwxr-xr-x | modules/modTeleport.c | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/modules/modPipe.c b/modules/modPipe.c index 6f000d8..476d8ec 100755 --- a/modules/modPipe.c +++ b/modules/modPipe.c @@ -193,6 +193,11 @@ static void transformShot(shot_t *shot, int position) shot->position = position; shot->isCanKillAuthor = TRUE; + + if( shot->gun == GUN_LASSER ) + { + export_fce->fce_transformOnlyLasser(shot); + } } static void moveShot(shot_t *shot, int position, int src_x, int src_y, diff --git a/modules/modTeleport.c b/modules/modTeleport.c index 0f0d41b..502b3ef 100755 --- a/modules/modTeleport.c +++ b/modules/modTeleport.c @@ -291,12 +291,10 @@ static void transformShot(shot_t *shot, int position) shot->position = position; shot->isCanKillAuthor = TRUE; -/* if( shot->gun == GUN_LASSER ) { - transformOnlyLasser(shot); + export_fce->fce_transformOnlyLasser(shot); } -*/ } static void moveShot(shot_t *shot, int position, int src_x, int src_y, @@ -423,12 +421,12 @@ int event() thisShot = (shot_t *)arena->listShot->list[i]; assert( thisShot != NULL ); - +/* if( thisShot->gun == GUN_LASSER ) { continue; } - +*/ if( ( thisTeleport = isConflictWithListTeleport(listTeleport, thisShot->x, thisShot->y, thisShot->w, thisShot->h) ) != NULL ) { |