diff options
author | Sven Hesse | 2006-07-08 16:37:23 +0000 |
---|---|---|
committer | Sven Hesse | 2006-07-08 16:37:23 +0000 |
commit | b7997a723105534dcefe50ae5b1448638480f0da (patch) | |
tree | aefb4b62b77d618f7a114c031f9ac065e831abe3 /engines/gob/map.h | |
parent | 5aff1df2200e9d12a87d4ce4d6d146b17b0b5467 (diff) | |
download | scummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.tar.gz scummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.tar.bz2 scummvm-rg350-b7997a723105534dcefe50ae5b1448638480f0da.zip |
- Fixed a few mistakes that added up to look correct, fixing bargon's cursor
- Updated cursor drawing in general
svn-id: r23429
Diffstat (limited to 'engines/gob/map.h')
-rw-r--r-- | engines/gob/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |