summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-24 01:09:26 -0300
committershennetsind <ind@henn.et>2013-02-24 01:09:26 -0300
commitd4582e286fa64f469112ff76ecae672ce7c57aa5 (patch)
tree77f0920fab02857f4cdfe02ffdc402d4638419ec /src/map/npc.c
parentadda8d74c3280ae1e3745591caafd9ce6e81ded7 (diff)
downloadhercules-d4582e286fa64f469112ff76ecae672ce7c57aa5.tar.gz
hercules-d4582e286fa64f469112ff76ecae672ce7c57aa5.tar.bz2
hercules-d4582e286fa64f469112ff76ecae672ce7c57aa5.tar.xz
hercules-d4582e286fa64f469112ff76ecae672ce7c57aa5.zip
Revert "Fixed Bug #7091"
This reverts commit adda8d74c3280ae1e3745591caafd9ce6e81ded7. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index abe916b4f..f72f6532c 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1194,7 +1194,7 @@ int npc_click(struct map_session_data* sd, struct npc_data* nd)
/*==========================================
*
*------------------------------------------*/
-int npc_scriptcont(struct map_session_data* sd, int id, bool closing)
+int npc_scriptcont(struct map_session_data* sd, int id)
{
nullpo_retr(1, sd);
@@ -1229,9 +1229,6 @@ int npc_scriptcont(struct map_session_data* sd, int id, bool closing)
if( sd->progressbar.npc_id && DIFF_TICK(sd->progressbar.timeout,gettick()) > 0 )
return 1;
- if( closing )
- sd->st->state = END;
-
run_script_main(sd->st);
return 0;