Browse Source

Bugfix: Celia Infostring displaying after quest (#7009)

pull/7013/head
Eric Robinson 2 years ago committed by GitHub
parent
commit
bd89e2f7a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      Source/controls/plrctrls.cpp
  2. 1
      Source/towners.h

2
Source/controls/plrctrls.cpp

@ -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;
}
}

1
Source/towners.h

@ -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

Loading…
Cancel
Save