summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-05 23:06:28 -0300
committershennetsind <ind@henn.et>2013-07-05 23:06:28 -0300
commit144a9d0843dfe47e0b58c8857762f58ae70543c8 (patch)
tree9895c9f8fd9d6d2d0af34d83148adcd36dc777ea /src/map/pc.c
parent04251494ebf61d3fba1a0b87cb80e90c6c9e32fd (diff)
downloadhercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.gz
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.bz2
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.tar.xz
hercules-144a9d0843dfe47e0b58c8857762f58ae70543c8.zip
Fixed Bug #7307
http://hercules.ws/board/tracker/issue-7307-status-weapon-switch/ Special Thanks to kyeme, Beret. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e5a224e48..b14a02ed4 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1048,6 +1048,8 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim
sd->state.dialog = 0;
+ sd->delayed_damage = 0;
+
// Event Timers
for( i = 0; i < MAX_EVENTTIMER; i++ )
sd->eventtimer[i] = INVALID_TIMER;
@@ -4839,7 +4841,6 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y
if( hChSys.local && map[sd->bl.m].channel && idb_exists(map[sd->bl.m].channel->users, sd->status.char_id) ) {
clif->chsys_left(map[sd->bl.m].channel,sd);
}
-
}
if( m < 0 ) {