diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-12 19:27:11 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-12 19:27:11 +0000 |
| commit | 652ce49bba44c885da4891bcae5fb650ef132a73 (patch) | |
| tree | 227a6f37a77f4b907e457b9163a0e36a0d9af1ed /src/tux.c | |
| parent | 9751218f594526982877332d6ca0fa90b67bbb7b (diff) | |
- moduly pouzivaju space_t
- drobne upravy
git-svn-id: http://opensvn.csie.org/tuxanci_ng@64 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/tux.c')
| -rw-r--r-- | src/tux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -644,7 +644,7 @@ void moveTux(tux_t *tux, int n) int px, py; int zal_x, zal_y; int new_x, new_y; - int x, y, w, h; + int w, h; arena_t *arena; /* @@ -724,7 +724,7 @@ void moveTux(tux_t *tux, int n) */ if( tux->bonus != BONUS_GHOST && ( - /*isConflictWithObjectFromSpace(arena->spaceTux, x, y, w, h) ||*/ + isConflictWithObjectFromSpaceBut(arena->spaceTux, new_x, new_y, w, h, tux) || isConflictModule(new_x, new_y, w, h) ) ) { setTuxProportion(tux, zal_x, zal_y); |