diff options
author | uruk | 2014-06-15 21:11:27 +0200 |
---|---|---|
committer | uruk | 2014-06-15 21:11:42 +0200 |
commit | baffdd97e22851ad050bbeb1e800e38606b8f4c1 (patch) | |
tree | 62b31a8062dad8da01aa715d6e97226e5fd874c3 /engines/cge2/bitmap.h | |
parent | ae96463036ff99540478b7355746d8fd653ff527 (diff) | |
download | scummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.tar.gz scummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.tar.bz2 scummvm-rg350-baffdd97e22851ad050bbeb1e800e38606b8f4c1.zip |
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.
Diffstat (limited to 'engines/cge2/bitmap.h')
-rw-r--r-- | engines/cge2/bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |