1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-25 07:44:38 +01:00

Fix: ghosts are counted in guest scenery or fountain thoughts

This commit is contained in:
Nick
2022-10-05 13:57:22 -04:00
committed by GitHub
parent 69721e66f7
commit 4aabc00335
4 changed files with 8 additions and 2 deletions

View File

@@ -2924,6 +2924,11 @@ static PeepThoughtType peep_assess_surroundings(int16_t centre_x, int16_t centre
{
Ride* ride;
if (tileElement->IsGhost())
{
continue;
}
switch (tileElement->GetType())
{
case TileElementType::Path:

View File

@@ -42,7 +42,7 @@
// This string specifies which version of network stream current build uses.
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "0"
#define NETWORK_STREAM_VERSION "1"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
static Peep* _pickup_peep = nullptr;