summaryrefslogtreecommitdiff
path: root/src/base/shot.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-22 11:55:33 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-22 11:55:33 +0000
commit1e656ce31aca56aa802245b220850ebba6672d93 (patch)
tree2d10ae7ad3d8bc3d77733683ab2ea24c7f461ad9 /src/base/shot.c
parent3e36d08598a3ab43ddce32f2b34295447d32e38e (diff)
- podpora split screenu v bigArenacha pri hre na jednom PC :)
( zatial teka technikca verzia ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@238 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/shot.c')
-rw-r--r--src/base/shot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/shot.c b/src/base/shot.c
index 955330e..86dfec3 100644
--- a/src/base/shot.c
+++ b/src/base/shot.c
@@ -346,7 +346,7 @@ void checkShotIsInTuxScreen(arena_t *arena)
continue;
}
- getCenterScreen(&screen_x, &screen_y, thisTux->x, thisTux->y);
+ getCenterScreen(&screen_x, &screen_y, thisTux->x, thisTux->y, WINDOW_SIZE_X, WINDOW_SIZE_Y);
actionSpaceFromLocation(arena->spaceShot, action_check,
thisClient, screen_x, screen_y, WINDOW_SIZE_X, WINDOW_SIZE_Y);