From baffdd97e22851ad050bbeb1e800e38606b8f4c1 Mon Sep 17 00:00:00 2001 From: uruk Date: Sun, 15 Jun 2014 21:11:27 +0200 Subject: CGE2: Fix coordinates of mouse handling. Now infoLine is working properly. Rework solidAt() to achieve that. Also move spriteAt from talk.cpp to cge2_main.cpp, and remove the older version which didn't use V2D as a parameter. --- engines/cge2/bitmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cge2/bitmap.h') diff --git a/engines/cge2/bitmap.h b/engines/cge2/bitmap.h index 8bff8fe99c..2c7b31b110 100644 --- a/engines/cge2/bitmap.h +++ b/engines/cge2/bitmap.h @@ -83,7 +83,7 @@ public: void release(); void hide(int16 x, int16 y); void show(int16 x, int16 y); - bool solidAt(int16 x, int16 y); + bool solidAt(V2D pos); void xLatPos(V2D& p); bool moveHi(); bool moveLo(); -- cgit v1.2.3