diff options
author | Kari Salminen | 2009-09-03 20:56:44 +0000 |
---|---|---|
committer | Kari Salminen | 2009-09-03 20:56:44 +0000 |
commit | 9b2104db32d074886daa0ec48624193351d6ed51 (patch) | |
tree | 77240182c933fe6983c1d40fcf536d6b36f4a473 /engines/agi/op_cmd.cpp | |
parent | 9aa7546a3491acbbace93729efed2dc62a1f1855 (diff) | |
download | scummvm-rg350-9b2104db32d074886daa0ec48624193351d6ed51.tar.gz scummvm-rg350-9b2104db32d074886daa0ec48624193351d6ed51.tar.bz2 scummvm-rg350-9b2104db32d074886daa0ec48624193351d6ed51.zip |
Workaround for bug #2848940 (ScummVM crashes with Future wars): getZoneFromPositionRaw accessed data outside its 320x200 buffer because Y values in range 200-232 were given to it. Original doesn't properly handle this either so trying this workaround of returning zero for positions outside the 320x200 buffer. Hopefully nothing else breaks in Future Wars because of this (More testing is direly needed!).
svn-id: r43920
Diffstat (limited to 'engines/agi/op_cmd.cpp')
0 files changed, 0 insertions, 0 deletions