summary refs log tree commit diff stats
path: root/src/game.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-24 21:30:59 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-24 21:30:59 -0500
commit4effe126d5b04d7e8572f8d785735a66150aa4ee (patch)
treea2e2f98dbacc9a8593b70bf16eac06adfc30b337 /src/game.cpp
parent04399885ba1ccecccdb7040d1f1165e977b29479 (diff)
downloadtanetane-4effe126d5b04d7e8572f8d785735a66150aa4ee.tar.gz
tanetane-4effe126d5b04d7e8572f8d785735a66150aa4ee.tar.bz2
tanetane-4effe126d5b04d7e8572f8d785735a66150aa4ee.zip
Ionia is in the water!
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 2a4308f..af66068 100644 --- a/src/game.cpp +++ b/src/game.cpp
@@ -60,6 +60,9 @@ void Game::loadMap(std::string filename) {
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).normallyHasShadow = p.shadow; 62 getSprite(spriteId).normallyHasShadow = p.shadow;
63 if (!p.animName.empty()) {
64 getSystem<AnimationSystem>().setSpriteAnimation(spriteId, p.animName);
65 }
63 } 66 }
64 getSprite(spriteId).interactionScript = p.interactionScript; 67 getSprite(spriteId).interactionScript = p.interactionScript;
65 if (p.movementSpeed != -1) { 68 if (p.movementSpeed != -1) {