aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRobert Špalek2009-11-22 21:12:23 +0000
committerRobert Špalek2009-11-22 21:12:23 +0000
commitf6f8b66d455d73fb72e8c4547d763d9d9d115386 (patch)
tree99df74bb0b0bd666c1c0842e7c2a19bbc3c1be36 /configure
parentd3d16422e0177942fcf5045cc65585c10d0da9b0 (diff)
downloadscummvm-rg350-f6f8b66d455d73fb72e8c4547d763d9d9d115386.tar.gz
scummvm-rg350-f6f8b66d455d73fb72e8c4547d763d9d9d115386.tar.bz2
scummvm-rg350-f6f8b66d455d73fb72e8c4547d763d9d9d115386.zip
Remove obsolete and unneeded logic bypassing reloading a location.
I have tested that this could only possibly happen when the game has been loaded with last location being the map. Then pressing Escape calls enterNewRoom() and this superfluous optimization takes place. It is harmless to simply reload the map. After having removed it, enterNewRoom() needs not return any return value, because the test at the tail can be done by the caller. I have then restructured the code a little to make it cleaner. svn-id: r46098
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions