diff options
author | Sven Hesse | 2007-01-28 13:19:17 +0000 |
---|---|---|
committer | Sven Hesse | 2007-01-28 13:19:17 +0000 |
commit | b13e7ce8ecf853809b98abf3b455a0093f26b202 (patch) | |
tree | 92e67a034b28c4028ec5923ac637ed654ed4eb3f /engines/gob/parse_v2.cpp | |
parent | aae330b4c16545fcadc029a432514022894c84d7 (diff) | |
download | scummvm-rg350-b13e7ce8ecf853809b98abf3b455a0093f26b202.tar.gz scummvm-rg350-b13e7ce8ecf853809b98abf3b455a0093f26b202.tar.bz2 scummvm-rg350-b13e7ce8ecf853809b98abf3b455a0093f26b202.zip |
- Fixed the Adlib data ugliness
- Worked around the caching of raw sprite video memory to a file
svn-id: r25244
Diffstat (limited to 'engines/gob/parse_v2.cpp')
-rw-r--r-- | engines/gob/parse_v2.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/gob/parse_v2.cpp b/engines/gob/parse_v2.cpp index 6947bfe766..132adfa037 100644 --- a/engines/gob/parse_v2.cpp +++ b/engines/gob/parse_v2.cpp @@ -114,7 +114,6 @@ int16 Parse_v2::parseValExpr(unsigned stopToken) { int16 brackPos; static int16 flag = 0; int16 oldflag; - int16 foo; oldflag = flag; if (flag == 0) { @@ -189,8 +188,7 @@ int16 Parse_v2::parseValExpr(unsigned stopToken) { break; case 24: - foo = _vm->_inter->load16(); - *valPtr = READ_VARO_UINT16(foo * 4); + *valPtr = READ_VARO_UINT16(_vm->_inter->load16() * 4); break; case 25: @@ -441,7 +439,7 @@ int16 Parse_v2::parseExpr(char stopToken, byte *arg_2) { case 21: *operPtr = 20; - *valPtr = *((int8 *) _vm->_global->_inter_execPtr++); + *valPtr = (int8) (*_vm->_global->_inter_execPtr++); break; case 22: |