From c4f79322d1d38d4345dd7a6ef126f5a8d25196c1 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 6 Dec 2015 16:55:40 +0100 Subject: Minor follow-up to e9eeb59068934ee8e71b7b9f37f131ef41459e76 Always use the prefix form of increment/decrement operators where posible. Signed-off-by: Haru --- npc/re/instances/OldGlastHeim.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 1d908ac39..2666f8151 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -516,7 +516,7 @@ OnTimer85000: monster .@map$,145,99,"Abyss Knight",2470,1,.@label$; monster .@map$,154,99,"Abyss Knight",2470,1,.@label$; - for(.@i = 1; .@i<=22; .@i++) + for (.@i = 1; .@i <= 22; ++.@i) hideoffnpc instance_npcname(".#ghinstance"+.@i); donpcevent instance_npcname(".#ghinstance22")+"::OnTalkK"; @@ -1480,7 +1480,7 @@ OnEnable: end; OnMyMobDead: .@map$ = instance_mapname("2@gl_k"); - .MyMobs--; + --.MyMobs; if (.MyMobs == 0) { mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00"; donpcevent instance_npcname("#ghmemorialmob06")+"::OnDisable2"; @@ -1589,7 +1589,7 @@ OnEnable: end; OnMyMobDead: .@map$ = instance_mapname("2@gl_k"); - .MyMobs--; + --.MyMobs; if (.MyMobs == 0) { mapannounce .@map$, "A being with an evil aura seems to be appearing in this region.",bc_map,"0xFFFF00"; donpcevent instance_npcname("#ghmemorialmob09")+"::OnEnable"; -- cgit v1.2.3-70-g09d2