mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
better scene cleanup
svn-id: r45578
This commit is contained in:
parent
5f77a350a3
commit
6205c5f4de
@ -670,8 +670,13 @@ void Scene::displayMessage(const Common::String &str, byte color) {
|
||||
}
|
||||
|
||||
void Scene::clear() {
|
||||
message.clear();
|
||||
events.clear();
|
||||
current_event.clear();
|
||||
for(int i = 0; i < 4; ++i) {
|
||||
animation[i].free();
|
||||
custom_animation[i].free();
|
||||
}
|
||||
}
|
||||
|
||||
} // End of namespace TeenAgent
|
||||
|
Loading…
x
Reference in New Issue
Block a user