Corrected another case where insertValues would fail (why does it like core:;stringw but not wchar_t*?)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-02-07 02:49:40 +00:00
parent 238f572c36
commit d561ce384b

View File

@ -278,7 +278,7 @@ void Powerup::use()
m_sound_use->play();
irr::core::stringw anchor_message;
anchor_message += StringUtils::insertValues(getAnchorString(), kart->getName()).c_str();
anchor_message += StringUtils::insertValues(getAnchorString(), core::stringw(kart->getName()));
gui->addMessage(translations->fribidize(anchor_message), NULL, 3.0f, 40, video::SColor(255, 255, 255, 255), false);
break;
}