mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
(Pepper) Fix building variant switch bug (#451)
* (Pepper) Fix building variant switch bug * Add comment
This commit is contained in:
parent
99be9c8767
commit
77bbbfe2ca
@ -394,6 +394,9 @@ MxResult LegoBuildingManager::Read(LegoStorage* p_storage)
|
|||||||
m_nextVariant = 0;
|
m_nextVariant = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Bugfix: allow Pepper to change variant building after save game load
|
||||||
|
g_buildingInfo[HAUS1_INDEX].m_variant = g_buildingInfoVariants[m_nextVariant];
|
||||||
|
|
||||||
result = SUCCESS;
|
result = SUCCESS;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user