Mercurial > hg > early-roguelike
annotate rogue5/.svnignore @ 166:9b5f1e6aa35a
arogue7, xrogue: fix uninitialized variables when restoring.
The save and restore code assumed sizeof(long) == 4, which is not the
case on x64. Reading only 4 bytes from the savefile left the others
uninitialized, which led to problems like billions of experience points
or gold pieces.
| author | John "Elwin" Edwards |
|---|---|
| date | Fri, 26 Jun 2015 11:42:02 -0400 |
| parents | f502bf60e6e4 |
| children |
| rev | line source |
|---|---|
|
33
f502bf60e6e4
Import Rogue 5.4 from the Roguelike Restoration Project (r1490)
elwin
parents:
diff
changeset
|
1 config.status |
|
f502bf60e6e4
Import Rogue 5.4 from the Roguelike Restoration Project (r1490)
elwin
parents:
diff
changeset
|
2 config.log |
|
f502bf60e6e4
Import Rogue 5.4 from the Roguelike Restoration Project (r1490)
elwin
parents:
diff
changeset
|
3 rogue.scr |
