Commit 430821a 1 parent 3f63349 commit 430821a Copy full SHA for 430821a
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ void GameState::onLoadGame(const std::string& saveGameName)
166
166
}
167
167
auto newMapView = std::make_unique<MapViewState>(*mMainReportsState .get (), saveGamePath);
168
168
newMapView->initialize ();
169
- mNewMapView = std::move (newMapView);
169
+ mNewMapViewState = std::move (newMapView);
170
170
}
171
171
catch (const std::exception & e)
172
172
{
@@ -204,9 +204,9 @@ NAS2D::State* GameState::update()
204
204
mReturnState = new MainMenuState ();
205
205
}
206
206
207
- if (mNewMapView )
207
+ if (mNewMapViewState )
208
208
{
209
- mMapViewState = std::move (mNewMapView );
209
+ mMapViewState = std::move (mNewMapViewState );
210
210
initializeMapViewState ();
211
211
}
212
212
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ class GameState : public NAS2D::State
50
50
private:
51
51
std::unique_ptr<MainReportsUiState> mMainReportsState ;
52
52
std::unique_ptr<MapViewState> mMapViewState ;
53
- std::unique_ptr<MapViewState> mNewMapView ;
53
+ std::unique_ptr<MapViewState> mNewMapViewState ;
54
54
Wrapper* mActiveState = nullptr ;
55
55
NAS2D::State* mReturnState = this ;
56
56
NAS2D::Fade mFade ;
You can’t perform that action at this time.
0 commit comments