Explorar o código

Display specific message if cast blocked by CURSED_GROUND

AlexVinS %!s(int64=9) %!d(string=hai) anos
pai
achega
7c91d378c8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      client/windows/CSpellWindow.cpp

+ 4 - 0
client/windows/CSpellWindow.cpp

@@ -685,6 +685,10 @@ void CSpellWindow::SpellArea::clickLeft(tribool down, bool previousState)
 						owner->myInt->showInfoDialog(boost::str(boost::format(CGI->generaltexth->allTexts[536])
 							% artName % owner->myHero->name));
 					}
+					else if(b && b->source == Bonus::TERRAIN_OVERLAY && b->sid == BFieldType::CURSED_GROUND)
+					{
+						owner->myInt->showInfoDialog(CGI->generaltexth->allTexts[537]);
+					}
 					else
 					{
 						// General message: