Sfoglia il codice sorgente

Fix creature window not showing bonus description

AlexVinS 11 anni fa
parent
commit
68d1105233
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      client/windows/CCreatureWindow.cpp

+ 1 - 0
client/windows/CCreatureWindow.cpp

@@ -749,6 +749,7 @@ void CStackWindow::initBonusesList()
 	for(Bonus* b : output)
 	{
 		bonusInfo.name = info->stackNode->bonusToString(b, false);
+		bonusInfo.description = info->stackNode->bonusToString(b, true);
 		bonusInfo.imagePath = info->stackNode->bonusToGraphics(b);
 
 		//if it's possible to give any description or image for this kind of bonus