Browse Source

Comment for clarity.

combat-2
MagicBot 1 year ago
parent
commit
060d831d50
  1. 2
      src/engine/gameManager/NPCManager.java

2
src/engine/gameManager/NPCManager.java

@ -350,6 +350,8 @@ public enum NPCManager {
else { else {
Mob mobile = (Mob) abstractCharacter; Mob mobile = (Mob) abstractCharacter;
// Siege engines are not hirelings but minions of said hireling.
if (!mobile.behaviourType.equals(Enum.MobBehaviourType.SiegeEngine)) if (!mobile.behaviourType.equals(Enum.MobBehaviourType.SiegeEngine))
abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot); abstractCharacter.building.getHirelings().put(abstractCharacter, buildingSlot);
} }

Loading…
Cancel
Save