summaryrefslogtreecommitdiff
path: root/src/shot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shot.c')
-rw-r--r--src/shot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shot.c b/src/shot.c
index 48fd223..bccc252 100644
--- a/src/shot.c
+++ b/src/shot.c
@@ -223,7 +223,7 @@ static void transformShot(shot_t *shot, int position)
void moveShot(shot_t *shot, int position, int src_x, int src_y,
int dist_x, int dist_y, int dist_w, int dist_h)
{
- int offset;
+ int offset = 0;
switch( shot->position )
{