mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Fix #5265. Queue TV's now correctly detected.
Due to a mistake when implementing only ghost queue TV's were used for increasing peep happiness
This commit is contained in:
@@ -1144,7 +1144,7 @@ static void sub_68F41A(rct_peep *peep, sint32 index)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Check if the footpath has a queue line TV monitor on it
|
// Check if the footpath has a queue line TV monitor on it
|
||||||
if (footpath_element_has_path_scenery(mapElement) && footpath_element_path_scenery_is_ghost(mapElement)){
|
if (footpath_element_has_path_scenery(mapElement) && !footpath_element_path_scenery_is_ghost(mapElement)){
|
||||||
uint8 pathSceneryIndex = footpath_element_get_path_scenery_index(mapElement);
|
uint8 pathSceneryIndex = footpath_element_get_path_scenery_index(mapElement);
|
||||||
rct_scenery_entry *sceneryEntry = get_footpath_item_entry(pathSceneryIndex);
|
rct_scenery_entry *sceneryEntry = get_footpath_item_entry(pathSceneryIndex);
|
||||||
if (sceneryEntry->path_bit.flags & PATH_BIT_FLAG_IS_QUEUE_SCREEN){
|
if (sceneryEntry->path_bit.flags & PATH_BIT_FLAG_IS_QUEUE_SCREEN){
|
||||||
|
|||||||
Reference in New Issue
Block a user