1
0
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:
duncanspumpkin
2017-04-04 20:05:10 +01:00
parent 447153ccfb
commit d305925cde
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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))
{