Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelton committed Feb 1, 2024
1 parent f674f89 commit 99c7aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GUI/UI/UIPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1720,7 +1720,7 @@ void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, int characterIndex) {
void GameUI_DrawNPCPopup(int _this) { // PopupWindowForBenefitAndJoinText
NPCData *pNPC; // eax@16
std::string pText; // eax@18
int a2; // [sp+60h] [bp-Ch]@16
int a2 = 0; // [sp+60h] [bp-Ch]@16

if (bNoNPCHiring != 1) {
FlatHirelings buf;
Expand All @@ -1730,7 +1730,7 @@ void GameUI_DrawNPCPopup(int _this) { // PopupWindowForBenefitAndJoinText
sDialogue_SpeakingActorNPC_ID = -1 - pParty->hirelingScrollPosition - _this;
pNPC = GetNewNPCData(sDialogue_SpeakingActorNPC_ID, &a2);
if (pNPC) {
if (a2 == 57)
if (pNPC->name == "Baby Dragon")
pText = pNPCTopics[512].pText; // Baby dragon
else
pText = pNPCStats->pProfessions[pNPC->profession].pBenefits;
Expand Down

0 comments on commit 99c7aee

Please sign in to comment.