For some reason, I ran into a "Lair Crewmember" character who is supposed to be in the player group, but wasn't.
My suspicion is that some of the Town Capture/Period Code may be responsible for that.
So I'm adding an extra line in Towntable.c to avoid that, just in case:
My suspicion is that some of the Town Capture/Period Code may be responsible for that.
So I'm adding an extra line in Towntable.c to avoid that, just in case:
Code:
if (GetTownIDFromLocID(character.location) == town) {
if (IsPlayerParty(character)) continue; // PB: Skip any characters that are with the player
if (GetAttribute(character, "Dialog.Filename") != "tailor_dialog.c" || iNation != PERSONAL_NATION) character.nation = iNation; // PB: Skip tailor nation change when taking town for yourself