Skip to content

Commit

Permalink
KOTORBASE: Add faction loading for creatures
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Apr 28, 2019
1 parent 2e29722 commit 31e97e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/engines/kotorbase/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,9 @@ void Creature::loadProperties(const Aurora::GFF3Struct &gff) {

_minOneHitPoint = gff.getBool("Min1HP", _minOneHitPoint);

// Faction
_faction = Faction(gff.getUint("FactionID"));

// Scripts
readScripts(gff);

Expand Down

0 comments on commit 31e97e9

Please sign in to comment.