Skip to content

Commit

Permalink
KOTORBASE: Add faction loading for situated objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed Apr 28, 2019
1 parent 31e97e9 commit 70bfb5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/engines/kotorbase/situated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ void Situated::loadProperties(const Aurora::GFF3Struct &gff) {
// Conversation
_conversation = gff.getString("Conversation", _conversation);

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

// Scripts
readScripts(gff, false);
}
Expand Down

0 comments on commit 70bfb5f

Please sign in to comment.