diff options
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 ) { |