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:
parent
88160e5a0c
commit
baa5b0450c
@ -120,7 +120,7 @@ void EnterPlayerNameDialog::onEnterPressedInternal()
|
|||||||
if (playerName.size() > 0)
|
if (playerName.size() > 0)
|
||||||
{
|
{
|
||||||
const bool success = OptionsScreenPlayers::getInstance()->gotNewPlayerName( playerName );
|
const bool success = OptionsScreenPlayers::getInstance()->gotNewPlayerName( playerName );
|
||||||
if (not success)
|
if (!success)
|
||||||
{
|
{
|
||||||
m_label_ctrl->setText(_("Cannot add a player with this name."));
|
m_label_ctrl->setText(_("Cannot add a player with this name."));
|
||||||
sfx_manager->quickSound( "use_anvil" );
|
sfx_manager->quickSound( "use_anvil" );
|
||||||
|
Loading…
Reference in New Issue
Block a user