diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index b5393a8..2a4308f 100644 --- a/src/game.cpp +++ b/src/game.cpp | |||
@@ -59,7 +59,7 @@ void Game::loadMap(std::string filename) { | |||
59 | getSystem<TransformSystem>().setUpCollision(spriteId, p.collisionOffset, p.collisionSize, true); | 59 | getSystem<TransformSystem>().setUpCollision(spriteId, p.collisionOffset, p.collisionSize, true); |
60 | if (!p.animationFilename.empty()) { | 60 | if (!p.animationFilename.empty()) { |
61 | getSystem<AnimationSystem>().initSprite(spriteId, p.animationFilename); | 61 | getSystem<AnimationSystem>().initSprite(spriteId, p.animationFilename); |
62 | getSprite(spriteId).hasShadow = p.shadow; | 62 | getSprite(spriteId).normallyHasShadow = p.shadow; |
63 | } | 63 | } |
64 | getSprite(spriteId).interactionScript = p.interactionScript; | 64 | getSprite(spriteId).interactionScript = p.interactionScript; |
65 | if (p.movementSpeed != -1) { | 65 | if (p.movementSpeed != -1) { |