summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2010-04-16 02:42:14 +0000
committerFate <fate-tmw@googlemail.com>2010-04-16 02:42:22 +0000
commitf7ec2dcd666826366380c1b50879d29bfe12ea53 (patch)
tree4fcd92bda22f91328e7e585e37f87598bd90511f /src/map/pc.c
parentff7e96f79568d6f5b0ff4bad7da7de40c57481a5 (diff)
downloadtmwa-f7ec2dcd666826366380c1b50879d29bfe12ea53.tar.gz
tmwa-f7ec2dcd666826366380c1b50879d29bfe12ea53.tar.bz2
tmwa-f7ec2dcd666826366380c1b50879d29bfe12ea53.tar.xz
tmwa-f7ec2dcd666826366380c1b50879d29bfe12ea53.zip
Fixed entity_warp() in magic, as used by teleporting, to properly update the map string using pc_setpos()
Noted (and solution suggested) by Freeyorp
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 748abf9..bf819a1 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4046,7 +4046,7 @@ int pc_setpos (struct map_session_data *sd, char *mapname_org, int x, int y,
if (pc_issit (sd))
{
- pc_setstand (sd);
+// pc_setstand (sd); // [fate] Nothing wrong with warping while sitting
skill_gangsterparadise (sd, 0);
}