diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-10 11:53:11 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-11 17:33:15 -0500 |
commit | 4c29543e44deb7a327b21b0af6a85a92e83ff103 (patch) | |
tree | d8522851bb86a7872100ec800392d48a2de99f7b /src/map.h | |
parent | 883490ba63110fca757610a169621953bf2bd288 (diff) | |
download | tanetane-4c29543e44deb7a327b21b0af6a85a92e83ff103.tar.gz tanetane-4c29543e44deb7a327b21b0af6a85a92e83ff103.tar.bz2 tanetane-4c29543e44deb7a327b21b0af6a85a92e83ff103.zip |
Fixed improperly calculated sprite hitboxes
Also made sprite hitboxes bigger. #15
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
22 | std::string name; | 22 | std::string name; |
23 | vec2i pos; | 23 | vec2i pos; |
24 | vec2i collisionOffset {-8, -8}; | 24 | vec2i collisionOffset {-8, -8}; |
25 | vec2i collisionSize {12, 8}; | 25 | vec2i collisionSize {16, 8}; |
26 | std::string animationFilename; | 26 | std::string animationFilename; |
27 | std::string animName; | 27 | std::string animName; |
28 | Direction dir = Direction::down; | 28 | Direction dir = Direction::down; |