浏览代码

* Fixed bug 196.

OnionKnight 16 年之前
父节点
当前提交
46c1127cc4
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      client/GUIClasses.cpp

+ 5 - 0
client/GUIClasses.cpp

@@ -3882,6 +3882,11 @@ void CArtifactsOfHero::scrollBackpack(int dir)
 			cur->text = cur->ourArt->Description();
 		else
 			cur->text = std::string();
+
+		// Set hover text.
+		char bufor[400];
+		sprintf(bufor, CGI->generaltexth->heroscrn[1].c_str(), cur->ourArt->Name().c_str());
+		cur->hoverText = bufor;
 	}
 }