summaryrefslogtreecommitdiff
path: root/src/tux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tux.c')
-rw-r--r--src/tux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tux.c b/src/tux.c
index c9d5ff2..7b41798 100644
--- a/src/tux.c
+++ b/src/tux.c
@@ -382,7 +382,8 @@ void tuxTeleport(tux_t *tux)
if( getNetTypeGame() != NET_GAME_TYPE_CLIENT )
{
findFreeSpace(getCurrentArena(), &x, &y, TUX_WIDTH, TUX_HEIGHT);
- setTuxProportion(tux, x, y);
+ moveObjectInSpace(getCurrentArena()->spaceTux, tux, x, y);
+ //setTuxProportion(tux, x, y);
}
if( getNetTypeGame() == NET_GAME_TYPE_SERVER )