summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 182b04f86..c65ce5c24 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -15662,6 +15662,7 @@ BUILDIN_FUNC(warpportal)
group = skill->unitsetting(bl, AL_WARP, 4, spx, spy, 0);
if( group == NULL )
return 0;// failed
+ group->val1 = (group->val1<<16)|(short)0;
group->val2 = (tpx<<16) | tpy;
group->val3 = mapindex;