diff options
author | Haru <haru@dotalux.com> | 2019-08-25 18:19:54 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-09-22 20:20:59 +0200 |
commit | f3e46d6a3817ad724d400d0bd5ab791cb24d98cb (patch) | |
tree | 39c51e7c626088c81e1d60aa5c669d4e2562a784 /src/map/status.c | |
parent | a4c438dd57403565bf6c934605d556314f8a6a9f (diff) | |
download | hercules-f3e46d6a3817ad724d400d0bd5ab791cb24d98cb.tar.gz hercules-f3e46d6a3817ad724d400d0bd5ab791cb24d98cb.tar.bz2 hercules-f3e46d6a3817ad724d400d0bd5ab791cb24d98cb.tar.xz hercules-f3e46d6a3817ad724d400d0bd5ab791cb24d98cb.zip |
Fix the (disabled by default) custom Venom Splasher countdown timer code
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c index ba32b267e..71cce28c5 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -11808,10 +11808,10 @@ static int status_change_timer(int tid, int64 tick, int id, intptr_t data) case SC_SPLASHER: #if 0 // custom Venom Splasher countdown timer - if (sce->val4 % 1000 == 0) { + if (sce->val4 % 1000 == 0 && bl && bl->type == BL_PC) { char counter[10]; snprintf (counter, 10, "%d", sce->val4/1000); - clif->message(bl, counter); + clif->message(BL_UCCAST(BL_PC, bl)->fd, counter); } #endif // 0 if((sce->val4 -= 500) > 0) { |