diff options
author | Nicola Mettifogo | 2010-06-19 04:51:14 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2010-06-19 04:51:14 +0000 |
commit | 96d4ae0fcccbe6438c5829a4a679d94180407159 (patch) | |
tree | 513f4c8553d3588f41b2750cfac4540839cb3dd5 /engines | |
parent | de7de460e8c985764d9e5719789da0aa8df914e9 (diff) | |
download | scummvm-rg350-96d4ae0fcccbe6438c5829a4a679d94180407159.tar.gz scummvm-rg350-96d4ae0fcccbe6438c5829a4a679d94180407159.tar.bz2 scummvm-rg350-96d4ae0fcccbe6438c5829a4a679d94180407159.zip |
Cleanup some more state when switching part in BRA.
svn-id: r50041
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 5023a05d85..cd9b15381b 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -262,6 +262,10 @@ void Parallaction_br::cleanupGame() { _objectsNames = 0; _countersNames = 0; + _numLocations = 0; + _globalFlags = 0; + memset(_localFlags, 0, sizeof(_localFlags)); + memset(_locationNames, 0, sizeof(_locationNames)); memset(_zoneFlags, 0, sizeof(_zoneFlags)); } |