diff --git a/Source/AliveLibAE/PathDataExtensions.cpp b/Source/AliveLibAE/PathDataExtensions.cpp index 36948a885..e75d63e06 100644 --- a/Source/AliveLibAE/PathDataExtensions.cpp +++ b/Source/AliveLibAE/PathDataExtensions.cpp @@ -80,10 +80,10 @@ void Path_Set_NewData_FromLvls() pChunkData += sizeof(PerPathExtension); - // Apply led messages - auto pLedMsgs = reinterpret_cast(pChunkData); - pChunkData = StringTable::MakeTable(pLedMsgs); - SetLcdMessagesForLvl(*pLedMsgs, static_cast(lvlIdx), pExt->mPathId); + // Apply LCD Screen messages + auto pLCDScreenMsgs = reinterpret_cast(pChunkData); + pChunkData = StringTable::MakeTable(pLCDScreenMsgs); + SetLcdMessagesForLvl(*pLCDScreenMsgs, static_cast(lvlIdx), pExt->mPathId); // Will be empty for AE auto pHintFlyMsgs = reinterpret_cast(pChunkData); diff --git a/Source/AliveLibAO/PathDataExtensions.cpp b/Source/AliveLibAO/PathDataExtensions.cpp index d2533e53e..5c9cbc804 100644 --- a/Source/AliveLibAO/PathDataExtensions.cpp +++ b/Source/AliveLibAO/PathDataExtensions.cpp @@ -87,10 +87,10 @@ void Path_Set_NewData_FromLvls() pChunkData += sizeof(PerPathExtension); - // Apply led messages - auto pLedMsgs = reinterpret_cast(pChunkData); - pChunkData = StringTable::MakeTable(pLedMsgs); - SetLcdMessagesForLvl(*pLedMsgs, static_cast(lvlIdx), pExt->mPathId); + // Apply LCD Screen messages + auto pLCDScreenMsgs = reinterpret_cast(pChunkData); + pChunkData = StringTable::MakeTable(pLCDScreenMsgs); + SetLcdMessagesForLvl(*pLCDScreenMsgs, static_cast(lvlIdx), pExt->mPathId); // Apply hint fly messages auto pHintFlyMsgs = reinterpret_cast(pChunkData); diff --git a/Source/AliveLibCommon/PathDataExtensionsTypes.hpp b/Source/AliveLibCommon/PathDataExtensionsTypes.hpp index 7d411e115..ebc6ed3ef 100644 --- a/Source/AliveLibCommon/PathDataExtensionsTypes.hpp +++ b/Source/AliveLibCommon/PathDataExtensionsTypes.hpp @@ -12,7 +12,7 @@ struct StringTable final // Read the string count u8* pDataIter = reinterpret_cast(pTable); const u64 stringCount = *reinterpret_cast(pDataIter); - pDataIter += sizeof(u32); + pDataIter += sizeof(u64); if (stringCount > 0) {