diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-25 14:32:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-05 14:28:30 +0300 |
commit | 81d0eb8441fa7d1bcfde8a1ca9bf09666d5139d8 (patch) | |
tree | 12d608e3dd6fd989ca6c46bb988fe91f54630976 /src/map/pc.c | |
parent | ac9dc43ac589e0c70f1f4f27d04dad0a302805bc (diff) | |
download | hercules-81d0eb8441fa7d1bcfde8a1ca9bf09666d5139d8.tar.gz hercules-81d0eb8441fa7d1bcfde8a1ca9bf09666d5139d8.tar.bz2 hercules-81d0eb8441fa7d1bcfde8a1ca9bf09666d5139d8.tar.xz hercules-81d0eb8441fa7d1bcfde8a1ca9bf09666d5139d8.zip |
Add optional parameter to warp script command for prevent stoping npc scripts after warp.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 8b52f615d..107d656f0 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -651,6 +651,7 @@ int pc_setnewpc(struct map_session_data *sd, int account_id, int char_id, int lo sd->canlog_tick = timer->gettick(); //Required to prevent homunculus copuing a base speed of 0. sd->battle_status.speed = sd->base_status.speed = DEFAULT_WALK_SPEED; + sd->state.warp_clean = 1; return 0; } |