From 4586cee0ab61aa7eaf93f7ec9777d1c750a91ab2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 6 Apr 2018 19:13:32 -0400 Subject: XEEN: Fix Space tiles not appearing in the map & minimap --- engines/xeen/map.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines') 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; }; -- cgit v1.2.3