ZVISION: Remove all AlphaEntries on room change

This commit is contained in:
RichieSams 2013-09-16 00:04:23 -05:00
parent 3a6cb86489
commit 2187245012

View File

@ -329,6 +329,9 @@ void ScriptManager::changeLocation(char world, char room, char node, char view,
// Reset the background velocity
_engine->getRenderManager()->setBackgroundVelocity(0);
// Remove any alphaEntries
_engine->getRenderManager()->clearAlphaEntries();
// Clean the global state table
cleanStateTable();