OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498922c
)
[Refactor] #40467 Added correct if-condition into exe_reading_savefile()
author
Hourier
<hourier@users.sourceforge.jp>
Sun, 5 Jul 2020 10:55:46 +0000
(19:55 +0900)
committer
Hourier
<hourier@users.sourceforge.jp>
Sun, 5 Jul 2020 10:55:46 +0000
(19:55 +0900)
src/savedata/load.c
patch
|
blob
|
history
diff --git
a/src/savedata/load.c
b/src/savedata/load.c
index
8c5da0f
..
1265ab6
100644
(file)
--- a/
src/savedata/load.c
+++ b/
src/savedata/load.c
@@
-37,6
+37,7
@@
#include "savedata/dungeon-loader.h"
#include "savedata/extra-loader.h"
#include "savedata/inventory-loader.h"
+#include "savedata/item-loader.h"
#include "savedata/load-util.h"
#include "savedata/load-v1-5-0.h"
#include "savedata/lore-loader.h"
@@
-172,7
+173,7
@@
static errr exe_reading_savefile(player_type *creature_ptr)
return load_item_result;
byte tmp8u;
- /* 2.1.3 or newer version */
+ if (!z_older_than(12, 1, 3))
{
u16b max_towns_load;
u16b max_quests_load;