diff options
author | Sven Hesse | 2015-08-03 15:56:43 +0200 |
---|---|---|
committer | Sven Hesse | 2015-08-03 15:56:43 +0200 |
commit | 370107c95326a8fafd816aed741e7842355c573e (patch) | |
tree | 7acf6f93be02a39160979ed064bd1eaee953a1d0 /engines/gob/script.cpp | |
parent | 51bcdec300a5707d34569c36eb55d2024e166bd8 (diff) | |
download | scummvm-rg350-370107c95326a8fafd816aed741e7842355c573e.tar.gz scummvm-rg350-370107c95326a8fafd816aed741e7842355c573e.tar.bz2 scummvm-rg350-370107c95326a8fafd816aed741e7842355c573e.zip |
GOB: Remove a useless call to Variables::getAddressOff8()
This is a left-over vestige of when the gob engine recorded the size
of each variable currently in use, because it byte-swapped all
variables on save/load depending on the machine ScummVM ran on.
The gob engine doesn't do that all anymore (instead, the variables are
always stored in the endianness of the original game), so
getAddressOff8() doesn't store "this is an 8-bit variable" anymore,
making the call a NOP.
This fixes Coverity Scan issue #1267142.
Diffstat (limited to 'engines/gob/script.cpp')
0 files changed, 0 insertions, 0 deletions