From a8a16d6083d025ba01a6a9bb0605b6383cd3290f Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 15 Aug 2021 23:38:22 +0200 Subject: [PATCH] Make Celia go home after stating so When reciving Theodor Celia stats that she will be going home. This makes her not spawn after the quest is done, same as the farmer. --- Source/towners.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/towners.cpp b/Source/towners.cpp index 192b98e43..b75ccc620 100644 --- a/Source/towners.cpp +++ b/Source/towners.cpp @@ -262,14 +262,10 @@ void InitCowFarmer(TownerStruct &towner, const TownerInit &initData) void InitGirl(TownerStruct &towner, const TownerInit &initData) { - const char *celPath = "Towners\\Girl\\Girlw1.CEL"; - if (Quests[Q_GIRL]._qactive == QUEST_DONE) { - celPath = "Towners\\Girl\\Girls1.CEL"; - } towner._tAnimWidth = 96; towner.animOrder = nullptr; towner.animOrderSize = 0; - LoadTownerAnimations(towner, celPath, 20, initData.dir, 6); + LoadTownerAnimations(towner, "Towners\\Girl\\Girlw1.CEL", 20, initData.dir, 6); towner.name = "Celia"; } @@ -821,7 +817,7 @@ void InitTowners() continue; break; case TOWN_GIRL: - if (!gbIsHellfire || sgGameInitInfo.bTheoQuest == 0 || !Players->_pLvlVisited[17]) + if (!gbIsHellfire || sgGameInitInfo.bTheoQuest == 0 || !Players->_pLvlVisited[17] || Quests[Q_GIRL]._qactive == QUEST_DONE) continue; break; default: