diff options
author | Paul Gilbert | 2015-12-01 21:48:14 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-12-01 21:48:14 -0500 |
commit | bf4ab6d52af065b424ec29e1fb8205527af5a060 (patch) | |
tree | 47c3d3a015808a067dc561eb3b6a1abca4211c79 /engines | |
parent | 2e3ecb1be89e7744f1a4dff6309404f0833407ec (diff) | |
download | scummvm-rg350-bf4ab6d52af065b424ec29e1fb8205527af5a060.tar.gz scummvm-rg350-bf4ab6d52af065b424ec29e1fb8205527af5a060.tar.bz2 scummvm-rg350-bf4ab6d52af065b424ec29e1fb8205527af5a060.zip |
TINSEL: Remove redundant assert check in SetHookScene
In the original, a second SetHookScene call can validly occur due to first
placing the cover-switched book in the bookcase, and then by the thief
leaving if his arrival happens immediately.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/tinsel.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 6dc8e3bb35..77932a5cdf 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -528,8 +528,6 @@ void SetNewScene(SCNHANDLE scene, int entrance, int transition) { * Store a scene as hooked */ void SetHookScene(SCNHANDLE scene, int entrance, int transition) { - assert(g_HookScene.scene == 0); // scene already hooked - g_HookScene.scene = scene; g_HookScene.entry = entrance; g_HookScene.trans = transition; |