diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-05 16:06:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-05 16:06:30 +0000 |
commit | b0588f94abf44afd9079c4af40a5ffc1603d5ef8 (patch) | |
tree | 132ff4d519e36848d04fb6ac74a3d71c58d2c9c3 /src/map/pc.c | |
parent | 04e43423d0aef8009087f92ed557371f5981b471 (diff) | |
download | hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.gz hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.bz2 hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.tar.xz hercules-b0588f94abf44afd9079c4af40a5ffc1603d5ef8.zip |
- Fixed a pair of missing map_freeblock_unlock
- Changed around a bit the code of the skill_get defines to return 0 if you ask for an id of the place where the guild skills are placed. Also moved the guild skills block to ID 900~915. Also stuff like skill_get_inf will return the relevant guild data as defined on skill_db.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5465 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index afe638f1b..31020bf6d 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3382,9 +3382,9 @@ int pc_run(struct map_session_data *sd, int skilllv, int dir) if(to_x == sd->bl.x && to_y == sd->bl.y){
if(sd->sc.data[SC_RUN].timer!=-1)
status_change_end(&sd->bl,SC_RUN,-1);
- } else
- pc_walktoxy(sd, to_x, to_y);
-
+ return 0;
+ }
+ pc_walktoxy(sd, to_x, to_y);
return 1;
}
/*==========================================
|