diff options
author | shennetsind <ind@henn.et> | 2013-04-16 00:48:09 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-16 00:48:09 -0300 |
commit | e671397fb25182e67d191c32f1272a4727322807 (patch) | |
tree | 529f1b3eec363998a7f649564fd33112391f8c47 /src/map/battle.c | |
parent | f3e20da4be387c0e49da58a8be676c9878818ebb (diff) | |
download | hercules-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/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index ac386f890..ad4c7fc7d 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -5940,10 +5940,10 @@ void Hercules_report(char* date, char *time_c) { config |= C_RENEWAL_ASPD; #endif -/* not a ifdef because SECURE_NPCTIMEOUT is always defined, but either as 0 or higher */ -#if SECURE_NPCTIMEOUT +#ifdef SECURE_NPCTIMEOUT config |= C_SECURE_NPCTIMEOUT; #endif + /* non-define part */ if( db_use_sqldbs ) config |= C_SQL_DBS; |