mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix #5334. Make signs save text in the correct order.
Mistake made during refactoring that would cause the sign text to be in the wrong order. If the text was less than 12 characters sign would be blank.
This commit is contained in:
@@ -55,7 +55,7 @@ extern "C" {
|
||||
// This define 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
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -297,7 +297,7 @@ static money32 BannerSetName(uint8 bannerIndex,
|
||||
rct_banner* banner = &gBanners[bannerIndex];
|
||||
|
||||
gCommandExpenditureType = RCT_EXPENDITURE_TYPE_RIDE_RUNNING_COSTS;
|
||||
size_t indexToOffset[3] = { 24, 12, 0 };
|
||||
size_t indexToOffset[3] = { 24, 0, 12 };
|
||||
|
||||
if (nameChunkIndex > Util::CountOf(indexToOffset))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user