summaryrefslogtreecommitdiff
path: root/src/base/shot.c
diff options
context:
space:
mode:
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);