diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 22:04:20 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 22:04:20 +0000 |
commit | 178e1269471a35507a1965fdb1548f052312a6a3 (patch) | |
tree | 1920d8230cd6a54bf04fb96d49cb3d70143139ce /src/map/atcommand.c | |
parent | 457cff865b0aa35bef85d8440ddf67c95158aa8b (diff) | |
download | hercules-178e1269471a35507a1965fdb1548f052312a6a3.tar.gz hercules-178e1269471a35507a1965fdb1548f052312a6a3.tar.bz2 hercules-178e1269471a35507a1965fdb1548f052312a6a3.tar.xz hercules-178e1269471a35507a1965fdb1548f052312a6a3.zip |
* Removed unconditional redundant status change checks before status_change_end calls (follow up to r12890).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14671 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 502ecc1e7..5d8062235 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -7615,7 +7615,7 @@ static int atcommand_mutearea_sub(struct block_list *bl,va_list ap) pl_sd->status.manner -= time; if (pl_sd->status.manner < 0) sc_start(&pl_sd->bl,SC_NOCHAT,100,0,0); - else if (pl_sd->sc.data[SC_NOCHAT]) + else status_change_end(&pl_sd->bl, SC_NOCHAT, INVALID_TIMER); } return 0; |