mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix warnings
This commit is contained in:
parent
dd64c0f3b7
commit
ac014d0e24
|
@ -360,7 +360,7 @@ static void paint_monorail_cycles_track_s_bend_left(uint8 rideIndex, uint8 track
|
|||
case 3: paint_monorail_cycles_util_7c(direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height, get_current_rotation()); break;
|
||||
}
|
||||
|
||||
if (direction == 0 | direction == 2) {
|
||||
if (direction == 0 || direction == 2) {
|
||||
if (trackSequence == 0) {
|
||||
paint_util_push_tunnel_left(height, TUNNEL_0);
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ static void paint_monorail_cycles_track_s_bend_right(uint8 rideIndex, uint8 trac
|
|||
case 3: paint_monorail_cycles_util_7c(direction, imageId, 0, 0, 32, 20, 1, height, 0, 6, height, get_current_rotation()); break;
|
||||
}
|
||||
|
||||
if (direction == 0 | direction == 2) {
|
||||
if (direction == 0 || direction == 2) {
|
||||
if (trackSequence == 0) {
|
||||
paint_util_push_tunnel_left(height, TUNNEL_0);
|
||||
}
|
||||
|
|
|
@ -583,8 +583,8 @@ void track_paint_util_right_quarter_turn_5_tiles_paint_2(sint16 height, int dire
|
|||
const sprite_bb *spriteBB = &sprites[direction][sprite];
|
||||
uint32 imageId = spriteBB->sprite_id | colourFlags;
|
||||
sub_98197C(imageId,
|
||||
spriteBB->offset.x, spriteBB->offset.y,
|
||||
spriteBB->bb_size.x, spriteBB->bb_size.y, spriteBB->bb_size.z,
|
||||
(sint8)spriteBB->offset.x, (sint8)spriteBB->offset.y,
|
||||
spriteBB->bb_size.x, spriteBB->bb_size.y, (sint8)spriteBB->bb_size.z,
|
||||
height + spriteBB->offset.z,
|
||||
spriteBB->bb_offset.x, spriteBB->bb_offset.y, height + spriteBB->bb_offset.z,
|
||||
rotation);
|
||||
|
|
Loading…
Reference in New Issue