summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-12 21:06:49 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-12 21:06:49 +0000
commit0c1406c5703dfa5584b8128468a78692c3869cab (patch)
tree7581accd7919990ba7764d67236a98f80adc282e /src/map/pc.c
parent2164720f551bc4516cf60d794ca26f8796860515 (diff)
downloadhercules-0c1406c5703dfa5584b8128468a78692c3869cab.tar.gz
hercules-0c1406c5703dfa5584b8128468a78692c3869cab.tar.bz2
hercules-0c1406c5703dfa5584b8128468a78692c3869cab.tar.xz
hercules-0c1406c5703dfa5584b8128468a78692c3869cab.zip
Added error reporting to buildin_warp when it fails.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11727 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e50d6c57c..5ce0cae1f 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3443,16 +3443,12 @@ int pc_steal_coin(struct map_session_data *sd,struct block_list *target)
return 0;
}
-//
-//
-//
/*==========================================
* Set's a player position.
* Return values:
* 0 - Success.
* 1 - Invalid map index.
* 2 - Map not in this map-server, and failed to locate alternate map-server.
- * 3 - Failed to warp player because it was in transition between maps.
*------------------------------------------*/
int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y, uint8 clrtype)
{