Skip to content

Commit

Permalink
Merge pull request #1359 from Ghabry/issue-1358
Browse files Browse the repository at this point in the history
Update map spriteset before a transition.
  • Loading branch information
carstene1ns authored May 12, 2018
2 parents ce74c04 + 34fb33c commit 7c772ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scene_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ void Scene_Map::Start() {
}

Player::FrameReset();

Game_Map::Update(true);
spriteset->Update();
}

void Scene_Map::Continue() {
Expand Down Expand Up @@ -232,6 +234,7 @@ void Scene_Map::FinishTeleportPlayer() {
spriteset.reset(new Spriteset_Map());

Game_Map::Update(true);
spriteset->Update();

if (autotransition) {
auto_transition = true;
Expand Down

0 comments on commit 7c772ea

Please sign in to comment.