فهرست منبع

Display specific message if cast blocked by CURSED_GROUND

AlexVinS 9 سال پیش
والد
کامیت
7c91d378c8
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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])
 						owner->myInt->showInfoDialog(boost::str(boost::format(CGI->generaltexth->allTexts[536])
 							% artName % owner->myHero->name));
 							% 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
 					else
 					{
 					{
 						// General message:
 						// General message: