forked from rosebudai/OpenRCT2-Web
Fix #8033: Crash when placing 64th sign
This commit is contained in:
1 parent
0d775f48ec
commit
600d32807d
2 files changed
+3
-3
No files matched your search
@@ -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