From 3501cd8b1173f6c6d8c84f631734344252ebd31d Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 26 Jun 2008 14:02:49 +0000 Subject: - oprava chyby pri teleportovani tuxa pomocou bonusu teleport - zdrojak na niektorych distrach nesiel skopilovat lebo nemal includovane headre na select, a "spoliehal" sa na includovanie pomocou inych headrov ( a nahodov to fungovalo ) - kod pre kompilaciu modulov pre gameserver nepouziva sdl-config :) git-svn-id: http://opensvn.csie.org/tuxanci_ng@73 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/tux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tux.c') 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 ) -- cgit v1.2.3