mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #8033: Crash when placing 64th sign
This commit is contained in:
@@ -30,7 +30,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 "13"
|
||||
#define NETWORK_STREAM_VERSION "14"
|
||||
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
|
||||
|
||||
static rct_peep* _pickup_peep = nullptr;
|
||||
|
||||
@@ -46,7 +46,7 @@ BannerIndex LargeSceneryElement::GetBannerIndex() const
|
||||
|
||||
void LargeSceneryElement::SetBannerIndex(BannerIndex newIndex)
|
||||
{
|
||||
entryIndex |= newIndex & 0xC0;
|
||||
type |= newIndex & 0xC0;
|
||||
colour[0] |= (newIndex & 0x38) << 2;
|
||||
colour[1] |= (newIndex & 7) << 5;
|
||||
}
|
||||
@@ -88,4 +88,4 @@ rct_scenery_entry* get_large_scenery_entry(int32_t entryIndex)
|
||||
result = (rct_scenery_entry*)obj->GetLegacyData();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user