summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tux.c b/src/tux.c
index 68af525..0243ee3 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -491,7 +491,10 @@ void eventConflictTuxWithTeleport(list_t *listTux, list_t *listTeleport)
if( ( thisTux = isConflictWithListTux(listTux, thisTeleport->x, thisTeleport->y,
thisTeleport->w, thisTeleport->h) ) != NULL )
{
- eventTeleportTux(listTeleport, thisTeleport, thisTux);
+ if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ eventTeleportTux(listTeleport, thisTeleport, thisTux);
+ }
}
}
}