diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-26 14:02:49 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-26 14:02:49 +0000 |
| commit | 3501cd8b1173f6c6d8c84f631734344252ebd31d (patch) | |
| tree | 5063a6cdeb4da221dfa15617a0a05f41bdd81872 /src/tux.c | |
| parent | aa864b63aba5260b8bd35da61c543e08ae03bd49 (diff) | |
- 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
Diffstat (limited to 'src/tux.c')
| -rw-r--r-- | src/tux.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ) |