From 4c29543e44deb7a327b21b0af6a85a92e83ff103 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 10 Mar 2021 11:53:11 -0500 Subject: Fixed improperly calculated sprite hitboxes Also made sprite hitboxes bigger. #15 --- src/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 9418aad..8b79d7b 100644 --- a/src/map.h +++ b/src/map.h @@ -22,7 +22,7 @@ struct Prototype { std::string name; vec2i pos; vec2i collisionOffset {-8, -8}; - vec2i collisionSize {12, 8}; + vec2i collisionSize {16, 8}; std::string animationFilename; std::string animName; Direction dir = Direction::down; -- cgit 1.4.1