mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Fix typo in enum value
This commit is contained in:
@@ -626,7 +626,7 @@ static void sub_68F41A(rct_peep *peep, int index)
|
||||
if (footpath_element_has_path_scenery(mapElement) && footpath_element_path_scenery_is_ghost(mapElement)){
|
||||
uint8 pathSceneryIndex = footpath_element_get_path_scenery_index(mapElement);
|
||||
rct_scenery_entry *sceneryEntry = get_footpath_item_entry(pathSceneryIndex);
|
||||
if (sceneryEntry->path_bit.flags & PAHT_BIT_FLAG_IS_QUEUE_SCREEN){
|
||||
if (sceneryEntry->path_bit.flags & PATH_BIT_FLAG_IS_QUEUE_SCREEN){
|
||||
found = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ static money32 footpath_element_update(int x, int y, rct_map_element *mapElement
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
if ((unk6 & PAHT_BIT_FLAG_IS_QUEUE_SCREEN) && !footpath_element_is_queue(mapElement)) {
|
||||
if ((unk6 & PATH_BIT_FLAG_IS_QUEUE_SCREEN) && !footpath_element_is_queue(mapElement)) {
|
||||
gGameCommandErrorText = STR_CAN_ONLY_PLACE_THESE_ON_QUEUE_AREA;
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ enum {
|
||||
PATH_BIT_FLAG_JUMPING_FOUNTAIN_SNOW = 1 << 5,
|
||||
PATH_BIT_FLAG_DONT_ALLOW_ON_QUEUE = 1 << 6,
|
||||
PATH_BIT_FLAG_DONT_ALLOW_ON_SLOPE = 1 << 7,
|
||||
PAHT_BIT_FLAG_IS_QUEUE_SCREEN = 1 << 8
|
||||
PATH_BIT_FLAG_IS_QUEUE_SCREEN = 1 << 8
|
||||
};
|
||||
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user