summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 16:23:57 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-17 16:23:57 +0000
commit0c1c429e338a07638c07c4bc088311abda354c36 (patch)
tree0ce491add7f3e632b6d4f3b6f5c01ac351a8f6d2 /src/map/status.c
parente30cc8e4ebab164b261578ef7bb8a76978db5478 (diff)
downloadhercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.gz
hercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.bz2
hercules-0c1c429e338a07638c07c4bc088311abda354c36.tar.xz
hercules-0c1c429e338a07638c07c4bc088311abda354c36.zip
- Devotion absorbed damage will now appear to come from oneself (instead of the original attacker changing directions towards the Crusader)
- Updated clif_refres to send inventory, cart, and weight info. - Fixed intif_guild_memberinfoshort to not leave a dangling pointer when someone logs out <.< - Cleaned up a bit guild_check_member git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7226 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index ce52d17ad..06ae11d33 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -572,7 +572,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
struct map_session_data *sd2 = map_id2sd(sc->data[SC_DEVOTION].val1);
if (sd2 && sd2->devotion[sc->data[SC_DEVOTION].val2] == target->id)
{
- clif_damage(src, &sd2->bl, gettick(), 0, 0, hp, 0, 0, 0);
+ clif_damage(&sd2->bl, &sd2->bl, gettick(), 0, 0, hp, 0, 0, 0);
status_fix_damage(NULL, &sd2->bl, hp, 0);
return 0;
}