diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 17:30:03 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 17:30:03 +0000 |
commit | 2ffd8efbee6c4c41d559754c1dcefc4da3b66ef7 (patch) | |
tree | 45ec90659d9140b26d518dc7e58c7e6a6476c7d0 /src/map | |
parent | d6b7b667e54c411c89f88c63a5f075038d7efdab (diff) | |
download | hercules-2ffd8efbee6c4c41d559754c1dcefc4da3b66ef7.tar.gz hercules-2ffd8efbee6c4c41d559754c1dcefc4da3b66ef7.tar.bz2 hercules-2ffd8efbee6c4c41d559754c1dcefc4da3b66ef7.tar.xz hercules-2ffd8efbee6c4c41d559754c1dcefc4da3b66ef7.zip |
Moved some code in pc_break_equip that was causing compile errors
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@704 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/pc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 5f55bfc51..076d72c18 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -637,13 +637,14 @@ int pc_break_equip(struct map_session_data *sd, unsigned short where) item=sd->inventory_data[i]; sd->status.inventory[i].attribute = 1; pc_unequipitem(sd,i,0); + sprintf(output, "%s has broken.",item->jname); + clif_emotion(&sd->bl,23); + clif_displaymessage(sd->fd, output); + clif_equiplist(sd); break; } } - sprintf(output, "%s has broken.",item->jname); - clif_emotion(&sd->bl,23); - clif_displaymessage(sd->fd, output); - clif_equiplist(sd); + return 0; } |