[Freeciv-Dev] (PR#4523) initialize some data when loading a saved game
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#4523) initialize some data when loading a saved game |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Wed, 9 Jul 2003 11:57:24 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
- pcity->synced is not initialized when loading a saved game. When
creating a city normally, it is set to FALSE. Obviously this should be
done when loading the game as well.
- pdcity->occupied (the occupied flag of the playermap "dumb" city)
isn't saved at all. Thus on a reload this value isn't initialized either.
Both errors were caught by valgrind.
jason
initialize_saved_data.diff
Description: initialize_saved_data.diff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#4523) initialize some data when loading a saved game,
Jason Short <=
|
|