mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix regression when loading a game with a flagged ground
It was not possible to build a mine.
This commit is contained in:
parent
295804fb27
commit
7b0294d9cf
@ -291,6 +291,14 @@ CDecor::Read (
|
||||
}
|
||||
}
|
||||
|
||||
/* Restore the flagged state where flagged ground */
|
||||
for (int i = 0; i < countof (m_decor); ++i)
|
||||
for (int j = 0; j < countof (m_decor[i]); ++j)
|
||||
{
|
||||
if (m_decor[i][j].objectIcon == 124)
|
||||
m_decorMem[i][j].flagged = true;
|
||||
}
|
||||
|
||||
if (majRev == 1 && minRev == 3)
|
||||
{
|
||||
memset (m_blupi, 0, sizeof (Blupi) * MAXBLUPI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user