summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-15 21:48:15 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-15 21:48:15 -0200
commit64a68fc81f459c475aa11efd102db0905551cbd4 (patch)
tree5dd8c1843fcbe0bad37dbd9a0b51e3695747e52a
parent51b909f577264d548ae6a9ba79c7e5ffb58cf54e (diff)
downloadserverdata-64a68fc81f459c475aa11efd102db0905551cbd4.tar.gz
serverdata-64a68fc81f459c475aa11efd102db0905551cbd4.tar.bz2
serverdata-64a68fc81f459c475aa11efd102db0905551cbd4.tar.xz
serverdata-64a68fc81f459c475aa11efd102db0905551cbd4.zip
Bug buggy
-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);