ZVISION: Cleanup _activeControls in ScriptManager destructor

This commit is contained in:
richiesams 2013-09-03 00:27:03 -05:00
parent 78d5a41cd0
commit 34dcea106a

View File

@ -48,6 +48,9 @@ ScriptManager::~ScriptManager() {
for (Common::List<Puzzle *>::iterator iter = _globalPuzzles.begin(); iter != _globalPuzzles.end(); iter++) {
delete (*iter);
}
for (Common::List<Control *>::iterator iter = _activeControls.begin(); iter != _activeControls.end(); iter++) {
delete (*iter);
}
}
void ScriptManager::initialize() {