From 1d0c75542aa8c18e075487b166e299bf8c0452d0 Mon Sep 17 00:00:00 2001 From: cosmosninja Date: Wed, 5 Dec 2007 04:10:36 +0000 Subject: [PATCH] Character selection works again. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1317 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/gui/char_sel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/char_sel.cpp b/src/gui/char_sel.cpp index d5884ea3e..99ee3c131 100644 --- a/src/gui/char_sel.cpp +++ b/src/gui/char_sel.cpp @@ -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) {