Merge pull request #801 from inguin/emi-sort-order

EMI: Reset sort order when changing sets
This commit is contained in:
Ingo van Lil 2013-12-30 02:18:31 -08:00
commit b0d97e8ab9

View File

@ -1128,6 +1128,7 @@ void GrimEngine::setSet(Set *scene) {
foreach (Actor *a, Actor::getPool()) {
a->stopWalking();
a->clearCleanBuffer();
a->setSortOrder(0);
}
g_driver->refreshBuffers();