Skip to content

Commit

Permalink
Bugfix: Celia Infostring displaying after quest (#7009)
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 authored Mar 7, 2024
1 parent 3c5b298 commit bd89e2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/controls/plrctrls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ void CheckTownersNearby()
int distance = GetDistance(Towners[i].position, 2);
if (distance == 0)
continue;
if (!IsTownerPresent(Towners[i]._ttype))
continue;
pcursmonst = i;
}
}
Expand Down
1 change: 1 addition & 0 deletions Source/towners.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ struct Towner {
};

extern Towner Towners[NUM_TOWNERS];
bool IsTownerPresent(_talker_id npc);
/**
* @brief Maps from a _talker_id value to a pointer to the Towner object, if they have been initialised
* @param type enum constant identifying the towner
Expand Down

0 comments on commit bd89e2f

Please sign in to comment.