mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
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.
This commit is contained in:
parent
2e3ecb1be8
commit
bf4ab6d52a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user