Merged from revision: 7217

Bugfixes (by anv)
- fix: ambient sounds weren't played after loading game in tactical,
- fix: AI with a lot of APs would stop moving around during combat.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7218 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2014-05-19 18:51:43 +00:00
parent 6f253e7e49
commit f05dfc0b1e
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -4666,6 +4666,9 @@ BOOLEAN LoadSavedGame( int ubSavedGameID )
LoadGameFilePosition( FileGetPos( hFile ), "Strategic Events" );
#endif
// anv: we need to rebuild ambient sounds now, as those added when loading tileset are removed
// in LoadStrategicEventsFromSavedGame
HandleNewSectorAmbience( gTilesets[ giCurrentTilesetID ].ubAmbientID );
uiRelEndPerc += 0;
SetRelativeStartAndEndPercentage( 0, uiRelStartPerc, uiRelEndPerc, L"Laptop Info" );