diff options
author | RichieSams | 2013-09-16 00:04:23 -0500 |
---|---|---|
committer | RichieSams | 2013-09-16 00:04:23 -0500 |
commit | 2187245012c2912fdebc8ec74a52a6488bc6d045 (patch) | |
tree | df638451cdb17db14653747a2ea9b38da1663050 | |
parent | 3a6cb86489c7e0a7c171dbb9d317dd2cdbf4cccf (diff) | |
download | scummvm-rg350-2187245012c2912fdebc8ec74a52a6488bc6d045.tar.gz scummvm-rg350-2187245012c2912fdebc8ec74a52a6488bc6d045.tar.bz2 scummvm-rg350-2187245012c2912fdebc8ec74a52a6488bc6d045.zip |
ZVISION: Remove all AlphaEntries on room change
-rw-r--r-- | engines/zvision/script_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp index 1acbcdfcf2..e014983293 100644 --- a/engines/zvision/script_manager.cpp +++ b/engines/zvision/script_manager.cpp @@ -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(); |