AddUntargetableToSpawn (#4872)

Adds the db entry for untargetable to the spawn struct
This commit is contained in:
Mitch Freeman
2025-04-28 18:50:57 -03:00
committed by GitHub
parent cd003ff0b7
commit c08f286817
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -4688,7 +4688,7 @@ namespace RoF2
Bitfields->linkdead = 0;
Bitfields->showhelm = emu->showhelm;
Bitfields->trader = emu->trader ? 1 : 0;
Bitfields->targetable = 1;
Bitfields->targetable = emu->NPC ? emu->untargetable : 1;
Bitfields->targetable_with_hotkey = emu->targetable_with_hotkey ? 1 : 0;
Bitfields->showname = ShowName;