Commit 5707aec3 authored by Gerhard Stein's avatar Gerhard Stein

Council Members now should have all the correct phrases

parent 0db0ed50
No preview for this file type
......@@ -10,7 +10,7 @@
Released under GNU/GPL
Release v0.4.0-Beta2
Build: LINUX32
Build: WIN32
**********************************************
Welcome to Commander Genius!
......
......@@ -125,8 +125,18 @@ void CCouncilMember::getTouchedBy(CObject &theObject)
std::string elder_text[2];
elder_text[0] = g_pBehaviorEngine->getString("ELDERS_TEXT");
elder_text[1] = g_pBehaviorEngine->getString(answermap[rescuedelders]);
if(Player.m_Inventory.Item.m_special.ep4.swimsuit) // Under water the text is a bit different
{
elder_text[0] = g_pBehaviorEngine->getString("ELDERS_UNDERWATER_TEXT");
elder_text[1] = "";
}
else
{
elder_text[0] = g_pBehaviorEngine->getString("ELDERS_TEXT");
elder_text[1] = g_pBehaviorEngine->getString(answermap[rescuedelders]);
}
EventContainer.add( new EventSendBitmapDialogMsg(104, elder_text[0], LEFT) );
EventContainer.add( new EventSendBitmapDialogMsg(106, elder_text[1], RIGHT) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment