summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 4858a1667..ddc43ebbf 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -11,11 +11,12 @@
//Remove/Comment this line to disable sc_data saving. [Skotlex]
#define ENABLE_SC_SAVING
-
//Remove/Comment this line to disable server-side hot-key saving support [Skotlex]
//Note that newer clients no longer save hotkeys in the registry!
+#define HOTKEY_SAVING
+
//The number is the max number of hotkeys to save (27 = 9 skills x 3 bars)
-#define HOTKEY_SAVING 27
+#define MAX_HOTKEYS 27
#define MAX_MAP_PER_SERVER 1024
#define MAX_INVENTORY 100
@@ -230,7 +231,7 @@ struct mmo_charstatus {
struct s_friend friends[MAX_FRIENDS]; //New friend system [Skotlex]
#ifdef HOTKEY_SAVING
- struct hotkey hotkeys[HOTKEY_SAVING];
+ struct hotkey hotkeys[MAX_HOTKEYS];
#endif
};