mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fix: Any tile that once had a player mine on it forever kept that flag. The map temp file will now be updated with a remove flag tag so that when a map is loaded the player mine flag will be removed.
If your savegame is already bugged you will need to step on each tile that had a mine to remove the player mine flag once. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7796 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -48,6 +48,7 @@ enum
|
||||
#endif
|
||||
// sevenfm
|
||||
SLM_MINE_PRESENT,
|
||||
SLM_REMOVE_MINE_PRESENT, // silversurfer: we need this to get rid of the mine flag otherwise any tile that ever had a mine on it will forever be flagged with MAPELEMENT_PLAYER_MINE_PRESENT
|
||||
};
|
||||
|
||||
typedef struct//dnl ch86 250214
|
||||
@@ -92,6 +93,7 @@ void SaveBloodSmellAndRevealedStatesFromMapToTempFile();
|
||||
|
||||
// sevenfm
|
||||
void SaveMineFlagFromMapToTempFile();
|
||||
void RemoveMineFlagFromMapTempFile( INT32 usGridNo);
|
||||
|
||||
BOOLEAN SaveRevealedStatusArrayToRevealedTempFile( INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user