Merging more of the GSoC 2008 RTL branch: PARALLACTION

svn-id: r34268
This commit is contained in:
Nicola Mettifogo 2008-09-02 01:58:55 +00:00
commit 4ab5d3fdc4
10 changed files with 70 additions and 21 deletions

View file

@ -137,11 +137,11 @@ void SaveLoad_ns::doLoadGame(uint16 slot) {
// TODO (LIST): unify (and parametrize) calls to freeZones.
// We aren't calling freeAnimations because it is not needed, since
// kChangeLocation will trigger a complete deletion. Anyway, we still
// need to invoke freeZones here with kEngineQuit set, because the
// need to invoke freeZones here with _quit set, because the
// call in changeLocation preserve certain zones.
_engineFlags |= kEngineQuit;
_vm->_quit = true;
_vm->freeZones();
_engineFlags &= ~kEngineQuit;
_vm->_quit = false;
_vm->_numLocations = atoi(s);