summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-07 19:49:56 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-07 19:49:56 -0300
commit008a5aa254d38ea94456505de84d8242772049de (patch)
treeaf86dca9d8410d2d2293d034ea90182476ac0d6d /npc
parent4c2b2614e276364807bbf48295c876c7646567b5 (diff)
downloadserverdata-008a5aa254d38ea94456505de84d8242772049de.tar.gz
serverdata-008a5aa254d38ea94456505de84d8242772049de.tar.bz2
serverdata-008a5aa254d38ea94456505de84d8242772049de.tar.xz
serverdata-008a5aa254d38ea94456505de84d8242772049de.zip
Correct the check, make Black Mamba 10ms faster for whatever reason
Diffstat (limited to 'npc')
-rw-r--r--npc/018-6-0/main.txt2
-rw-r--r--npc/018-6-1/main.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/018-6-0/main.txt b/npc/018-6-0/main.txt
index 0a5b667c3..683c21239 100644
--- a/npc/018-6-0/main.txt
+++ b/npc/018-6-0/main.txt
@@ -72,7 +72,7 @@ OnTouch:
.@q=getq(LoFQuest_Barbara);
.@q2=getq2(LoFQuest_Barbara);
.@q3=getq3(LoFQuest_Barbara);
- if (.@q < 2 || .@q3 != 7)
+ if (.@q < 2 || (.@q2 == 2 && .@q3 != 7))
Exception("ERROR, YOU SHOULD NOT BEEN SEEING THIS. 018-6-1.TFC.INVALID", RB_DEFAULT|RB_ISFATAL);
// Make the speech
if (.@q == 2) {
diff --git a/npc/018-6-1/main.txt b/npc/018-6-1/main.txt
index 6cdeaed94..81d3628a5 100644
--- a/npc/018-6-1/main.txt
+++ b/npc/018-6-1/main.txt
@@ -176,7 +176,7 @@ OnInit:
disablenpc .name$;
end;
OnInstanceInit:
- setnpcdisplay instance_npcname(.name$), NPC_WOUNDEDSOLDIER;
+ if (debug) setnpcdisplay instance_npcname(.name$), NPC_WOUNDEDSOLDIER;
disablenpc instance_npcname(.name$);
end;
}