summaryrefslogtreecommitdiff
path: root/src/emap/enum/esctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/enum/esctype.h')
-rw-r--r--src/emap/enum/esctype.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/emap/enum/esctype.h b/src/emap/enum/esctype.h
index 28e3930..932d297 100644
--- a/src/emap/enum/esctype.h
+++ b/src/emap/enum/esctype.h
@@ -4,9 +4,14 @@
#ifndef EVOL_MAP_ENUM_ESCTYPE
#define EVOL_MAP_ENUM_ESCTYPE
+#ifndef OLD_SC_MAX
+#define OLD_SC_MAX 0
+#error "vars.sh did not define OLD_SC_MAX"
+#endif
+
typedef enum esc_type
{
- SC_PHYSICAL_SHIELD = 654,
+ SC_PHYSICAL_SHIELD = OLD_SC_MAX, // defined in vars.sh
} esc_type;
#endif // EVOL_MAP_ENUM_ESCTYPE