mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
DM: Fix a couple of warnings
This commit is contained in:
parent
42567b744d
commit
75db418e64
@ -594,12 +594,12 @@ T0172030_Pit:
|
||||
aspectArray[kTeleporterVisibleAspect] = square.get(kTeleporterOpen) && square.get(kTeleporterVisible);
|
||||
goto T0172029_Teleporter;
|
||||
case kStairsElemType:
|
||||
aspectArray[kElemAspect] = ((square.get(kStairsNorthSouthOrient) >> 3) == isOrientedWestEast(dir)) ? kStairsSideElemType : kStairsFrontElemType;
|
||||
aspectArray[kElemAspect] = ((square.get(kStairsNorthSouthOrient) >> 3) == (isOrientedWestEast(dir) ? 1 : 0)) ? kStairsSideElemType : kStairsFrontElemType;
|
||||
aspectArray[kStairsUpAspect] = square.get(kStairsUp);
|
||||
footPrintsAllowed = false;
|
||||
goto T0172046_Stairs;
|
||||
case kDoorElemType:
|
||||
if ((square.get(kDoorNorthSouthOrient) >> 3) == isOrientedWestEast(dir)) {
|
||||
if ((square.get(kDoorNorthSouthOrient) >> 3) == (isOrientedWestEast(dir) ? 1 : 0)) {
|
||||
aspectArray[kElemAspect] = kDoorSideElemType;
|
||||
} else {
|
||||
aspectArray[kElemAspect] = kDoorFrontElemType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user