Character selection works again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
71a39116d4
commit
1d0c75542a
@ -185,7 +185,7 @@ void CharSel::update(float dt)
|
||||
//----------------------------------------------------------------------------
|
||||
void CharSel::select()
|
||||
{
|
||||
const int TOKEN = 0;
|
||||
const int TOKEN = widget_manager->get_selected_wgt() - WTOK_RACER0;
|
||||
const KartProperties* KP = kart_properties_manager->getKartById(TOKEN);
|
||||
if (KP != NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user