summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-10/officer.txt2
-rw-r--r--npc/017-3/model.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-10/officer.txt b/npc/003-10/officer.txt
index f997975af..fad85045a 100644
--- a/npc/003-10/officer.txt
+++ b/npc/003-10/officer.txt
@@ -39,7 +39,7 @@
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, DesertHelmet);
setunitdata(.@npcId, UDT_HEADMIDDLE, Chainmail);
setunitdata(.@npcId, UDT_HEADBOTTOM, WoodenSword);
diff --git a/npc/017-3/model.c b/npc/017-3/model.c
index 53fff5983..5fdf44c8a 100644
--- a/npc/017-3/model.c
+++ b/npc/017-3/model.c
@@ -30,7 +30,7 @@
close;
OnInit:
- .@npcId = getnpcid(0, .name$);
+ .@npcId = getnpcid(.name$);
setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt);
setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);