mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 01:05:59 +00:00
SAGA2: Fix _nameList cleanup
This commit is contained in:
parent
88548d38d3
commit
89b5a59ed0
@ -2700,10 +2700,10 @@ void cleanupPrototypes(void) {
|
||||
for (uint i = 0; i < nameListCount; ++i) {
|
||||
if (g_vm->_nameList[i])
|
||||
delete[] g_vm->_nameList[i];
|
||||
|
||||
g_vm->_nameList.clear();
|
||||
}
|
||||
|
||||
g_vm->_nameList.clear();
|
||||
|
||||
for (uint i = 0; i < g_vm->_actorProtos.size(); ++i) {
|
||||
if (g_vm->_actorProtos[i])
|
||||
delete g_vm->_actorProtos[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user