From 0f715fc0dbaa5c2327a951d107e971f3d7ebd216 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 12 Nov 2012 00:53:03 +0000 Subject: Follow up r16916: enforced status recalc when intravision ends to ensure it is properly overridden. Follow up r16914: removed unused var git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16917 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- src/map/status.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index e656d4eb1..25fc3182d 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2526,7 +2526,7 @@ ACMD_FUNC(skillpoint) *------------------------------------------*/ ACMD_FUNC(zeny) { - int zeny, new_zeny; + int zeny; nullpo_retr(-1, sd); if (!message || !*message || (zeny = atoi(message)) == 0) { diff --git a/src/map/status.c b/src/map/status.c index 802a1c023..a7c14dcaf 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9412,6 +9412,9 @@ int status_change_end_(struct block_list* bl, enum sc_type type, int tid, const clif_status_load(bl, SI_KYOUGAKU, 0); // Avoid client crash clif_status_load(bl, SI_ACTIVE_MONSTER_TRANSFORM, 0); break; + case SC_INTRAVISION: + calc_flag = SCB_ALL;/* required for overlapping */ + break; } opt_flag = 1; -- cgit v1.2.3-70-g09d2