diff options
author | Eugene Sandulenko | 2016-06-06 18:52:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-06-06 18:52:31 +0200 |
commit | 6c09ab992eac45afbf3349f96f012b5b4a39b48e (patch) | |
tree | eeec5d525a493ae0fcd04817f475bb8fc1b289a1 /engines/scumm/he | |
parent | 8ea64e923f686c15f9454e4b23356d4eed2645b6 (diff) | |
download | scummvm-rg350-6c09ab992eac45afbf3349f96f012b5b4a39b48e.tar.gz scummvm-rg350-6c09ab992eac45afbf3349f96f012b5b4a39b48e.tar.bz2 scummvm-rg350-6c09ab992eac45afbf3349f96f012b5b4a39b48e.zip |
SCUMM HE: Fix Moonbase FOW positioning
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/moonbase/moonbase_fow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/moonbase_fow.cpp b/engines/scumm/he/moonbase/moonbase_fow.cpp index 215e6885f0..b68d6051ff 100644 --- a/engines/scumm/he/moonbase/moonbase_fow.cpp +++ b/engines/scumm/he/moonbase/moonbase_fow.cpp @@ -158,7 +158,7 @@ enum FOWElement { }; int Moonbase::readFOWVisibilityArray(int array, int y, int x) { - if (readFromArray(array, y, x) > 0) + if (readFromArray(array, x, y) > 0) return FOW_EMPTY; return FOW_SOLID; |