From b7997a723105534dcefe50ae5b1448638480f0da Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 8 Jul 2006 16:37:23 +0000 Subject: - Fixed a few mistakes that added up to look correct, fixing bargon's cursor - Updated cursor drawing in general svn-id: r23429 --- engines/gob/map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/gob/map.h') diff --git a/engines/gob/map.h b/engines/gob/map.h index c550fe0add..606af141d0 100644 --- a/engines/gob/map.h +++ b/engines/gob/map.h @@ -142,13 +142,13 @@ public: virtual inline int8 getPass(int x, int y, int heightOff = -1) { if (heightOff == -1) heightOff = _passWidth; - return _vm->_util->readVariableByte((char *) (_passMap + y * heightOff + x)); + return _passMap[y * heightOff + x]; } virtual inline void setPass(int x, int y, int8 pass, int heightOff = -1) { if (heightOff == -1) heightOff = _passWidth; - _vm->_util->writeVariableByte((char *) (_passMap + y * heightOff + x) , pass); + _passMap[y * heightOff + x] = pass; } Map_v2(GobEngine *vm); -- cgit v1.2.3