Fixed compilation bug (auria: which language have you been

programming in lately?? ;)  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-03-25 05:20:28 +00:00
parent 88160e5a0c
commit baa5b0450c

View File

@ -120,7 +120,7 @@ void EnterPlayerNameDialog::onEnterPressedInternal()
if (playerName.size() > 0)
{
const bool success = OptionsScreenPlayers::getInstance()->gotNewPlayerName( playerName );
if (not success)
if (!success)
{
m_label_ctrl->setText(_("Cannot add a player with this name."));
sfx_manager->quickSound( "use_anvil" );