summaryrefslogtreecommitdiff
path: root/src/config/const.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-16 00:48:09 -0300
committershennetsind <ind@henn.et>2013-04-16 00:48:09 -0300
commite671397fb25182e67d191c32f1272a4727322807 (patch)
tree529f1b3eec363998a7f649564fd33112391f8c47 /src/config/const.h
parentf3e20da4be387c0e49da58a8be676c9878818ebb (diff)
downloadhercules-e671397fb25182e67d191c32f1272a4727322807.tar.gz
hercules-e671397fb25182e67d191c32f1272a4727322807.tar.bz2
hercules-e671397fb25182e67d191c32f1272a4727322807.tar.xz
hercules-e671397fb25182e67d191c32f1272a4727322807.zip
Fixed Bug #1721
SECURE_NPCTIMEOUT now possesses 3 settings (to mimic official ones) NPC_SECURE_TIMEOUT_INPUT NPC_SECURE_TIMEOUT_MENU NPC_SECURE_TIMEOUT_NEXT http://hercules.ws/board/tracker/issue-1721-npc-window-timeout/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/config/const.h')
-rw-r--r--src/config/const.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/config/const.h b/src/config/const.h
index abc36b05f..825824c62 100644
--- a/src/config/const.h
+++ b/src/config/const.h
@@ -19,8 +19,14 @@
#if SECURE_NPCTIMEOUT_INTERVAL <= 0
#error SECURE_NPCTIMEOUT_INTERVAL should be at least 1 (1s)
#endif
-#if SECURE_NPCTIMEOUT < 0
- #error SECURE_NPCTIMEOUT cannot be lower than 0
+#if NPC_SECURE_TIMEOUT_INPUT < 0
+ #error NPC_SECURE_TIMEOUT_INPUT cannot be lower than 0
+#endif
+#if NPC_SECURE_TIMEOUT_MENU < 0
+ #error NPC_SECURE_TIMEOUT_MENU cannot be lower than 0
+#endif
+#if NPC_SECURE_TIMEOUT_NEXT < 0
+ #error NPC_SECURE_TIMEOUT_NEXT cannot be lower than 0
#endif
/**