aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-04-06 19:13:32 -0400
committerPaul Gilbert2018-04-06 19:13:32 -0400
commit4586cee0ab61aa7eaf93f7ec9777d1c750a91ab2 (patch)
tree7cfbda1a32e1ab48b6c1c861ea1bd234d164d4a1
parent37b9de6d2564a9170b99711a7dd2327a882a5609 (diff)
downloadscummvm-rg350-4586cee0ab61aa7eaf93f7ec9777d1c750a91ab2.tar.gz
scummvm-rg350-4586cee0ab61aa7eaf93f7ec9777d1c750a91ab2.tar.bz2
scummvm-rg350-4586cee0ab61aa7eaf93f7ec9777d1c750a91ab2.zip
XEEN: Fix Space tiles not appearing in the map & minimap
-rw-r--r--engines/xeen/map.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/xeen/map.h b/engines/xeen/map.h
index a84c338d41..727c2e0c47 100644
--- a/engines/xeen/map.h
+++ b/engines/xeen/map.h
@@ -165,16 +165,16 @@ enum SurfaceType {
union MazeWallLayers {
struct MazeWallIndoors {
- int _wallNorth : 4;
- int _wallEast : 4;
- int _wallSouth : 4;
- int _wallWest : 4;
+ uint _wallNorth : 4;
+ uint _wallEast : 4;
+ uint _wallSouth : 4;
+ uint _wallWest : 4;
} _indoors;
struct MazeWallOutdoors {
- SurfaceType _surfaceId : 4;
- int _iMiddle : 4;
- int _iTop : 4;
- int _iOverlay : 4;
+ uint _surfaceId : 4; // SurfaceType, but needs to be unsigned
+ uint _iMiddle : 4;
+ uint _iTop : 4;
+ uint _iOverlay : 4;
} _outdoors;
uint16 _data;
};