From 5781568fe6412f3376ef19c74c2049fb49b0fd63 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Sun, 11 Dec 2016 05:12:51 +0100 Subject: Fixed collision detection, now it actually corresponds with the original asm code. Certain width attributes of the two objects being checked were flipped. I guess this may render a couple of hacky workarounds not necessary anymore. --- engines/sky/logic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sky/logic.h') diff --git a/engines/sky/logic.h b/engines/sky/logic.h index 8507fe7398..cd83e1a5f8 100644 --- a/engines/sky/logic.h +++ b/engines/sky/logic.h @@ -164,7 +164,7 @@ protected: void push(uint32); uint32 pop(); void checkModuleLoaded(uint16 moduleNo); - bool collide(Compact *cpt); + bool isCollision(Compact *cpt); void initScriptVariables(); void mainAnim(); void runGetOff(); -- cgit v1.2.3