From 64a68fc81f459c475aa11efd102db0905551cbd4 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Dec 2018 21:48:15 -0200 Subject: Bug buggy --- npc/003-10/officer.txt | 2 +- npc/017-3/model.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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); -- cgit v1.2.3-70-g09d2