From bf4ab6d52af065b424ec29e1fb8205527af5a060 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 1 Dec 2015 21:48:14 -0500 Subject: 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. --- engines/tinsel/tinsel.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3