summaryrefslogtreecommitdiff
path: root/src/map/itemdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/itemdb.cpp')
-rw-r--r--src/map/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp
index 62331f1..06b2873 100644
--- a/src/map/itemdb.cpp
+++ b/src/map/itemdb.cpp
@@ -11,7 +11,7 @@
#include "../poison.hpp"
-#define MAX_RANDITEM 2000
+constexpr int MAX_RANDITEM = 2000;
// ** ITEMDB_OVERRIDE_NAME_VERBOSE **
// 定義すると、itemdb.txtとgrfで名前が異なる場合、表示します.