summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 05:10:45 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 05:10:45 +0000
commitf5ded9b1d612e0b21ca993303289cffa8aae9180 (patch)
treeb448e656b9dc76b9bebfd4df896aacb543fc96d1 /src/map/status.c
parent147d068dc417591b39755c627e7b957db1b9d9e2 (diff)
downloadhercules-f5ded9b1d612e0b21ca993303289cffa8aae9180.tar.gz
hercules-f5ded9b1d612e0b21ca993303289cffa8aae9180.tar.bz2
hercules-f5ded9b1d612e0b21ca993303289cffa8aae9180.tar.xz
hercules-f5ded9b1d612e0b21ca993303289cffa8aae9180.zip
* Merged changes up to eAthena 15053. [ai4rei]
- clif cleanup: Changed clif_changestatus so that it takes sd instead of bl, since it only accepts BL_PC bls anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15471 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/status.c b/src/map/status.c
index dfde3dfd2..5b10f1deb 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6230,7 +6230,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
val1 = battle_config.manner_system; //Mute filters.
if (sd)
{
- clif_changestatus(&sd->bl,SP_MANNER,sd->status.manner);
+ clif_changestatus(sd,SP_MANNER,sd->status.manner);
clif_updatestatus(sd,SP_MANNER);
}
break;
@@ -7951,7 +7951,7 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const
sd->status.manner = 0;
if (sd && tid == INVALID_TIMER)
{
- clif_changestatus(&sd->bl,SP_MANNER,sd->status.manner);
+ clif_changestatus(sd,SP_MANNER,sd->status.manner);
clif_updatestatus(sd,SP_MANNER);
}
break;
@@ -8647,7 +8647,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data)
case SC_NOCHAT:
if(sd){
sd->status.manner++;
- clif_changestatus(bl,SP_MANNER,sd->status.manner);
+ clif_changestatus(sd,SP_MANNER,sd->status.manner);
clif_updatestatus(sd,SP_MANNER);
if (sd->status.manner < 0)
{ //Every 60 seconds your manner goes up by 1 until it gets back to 0.