Browse Source

* Fixed bug 196.

OnionKnight 16 years ago
parent
commit
46c1127cc4
1 changed files with 5 additions and 0 deletions
  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;
 	}
 }