mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 04:07:05 +00:00
only clear the polygon slots when playing a HE game
svn-id: r15120
This commit is contained in:
parent
17ea1f87df
commit
e494f53822
@ -2327,8 +2327,10 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) {
|
||||
stopCycle(0);
|
||||
_sound->processSoundQues();
|
||||
|
||||
for (i = 0; i < _WizNumPolygons; i++)
|
||||
memset(&_WizPolygons[i], 0, sizeof(WizPolygon));
|
||||
if (_heversion >= 70 && _WizPolygons) {
|
||||
for (i = 0; i < _WizNumPolygons; i++)
|
||||
memset(&_WizPolygons[i], 0, sizeof(WizPolygon));
|
||||
}
|
||||
|
||||
for (i = 0; i < _numRoomVariables; i++)
|
||||
_roomVars[i] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user