From 6c09ab992eac45afbf3349f96f012b5b4a39b48e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 6 Jun 2016 18:52:31 +0200 Subject: SCUMM HE: Fix Moonbase FOW positioning --- engines/scumm/he/moonbase/moonbase_fow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm/he') 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; -- cgit v1.2.3