From 1de2c09e00cd305662caf0ef5756d1abe2b70c60 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 15 Apr 2018 09:24:50 +0100 Subject: [PATCH] Reduce tank turret height so that the laser doesn't hit it through the tracks. --- src/entities/boss/tankCommander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/boss/tankCommander.c b/src/entities/boss/tankCommander.c index ac4914b..3d32235 100644 --- a/src/entities/boss/tankCommander.c +++ b/src/entities/boss/tankCommander.c @@ -366,5 +366,5 @@ static void getCollisionBounds(SDL_Rect *r) r->x = self->facing == FACING_LEFT ? self->x + 98 : self->x; r->y = self->y; r->w = 140; - r->h = self->h; + r->h = 66; }