Skip to content

Commit

Permalink
Reset panorama when event ChangeParallaxBG
Browse files Browse the repository at this point in the history
  • Loading branch information
fmatthew5876 committed Nov 18, 2018
1 parent 0e1a683 commit 245708d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1582,6 +1582,7 @@ void Game_Map::Parallax::ChangeBG(const Params& params) {
map_info.parallax_vert = params.scroll_vert;
map_info.parallax_vert_auto = params.scroll_vert_auto;
map_info.parallax_vert_speed = params.scroll_vert_speed;
panorama = {};
}

void Game_Map::Parallax::ClearChangedBG() {
Expand Down

0 comments on commit 245708d

Please sign in to comment.