Bugfix: if the currently selected character is selected elsewhere,
the selected character was removed from the list, but the model didn't change - it was still rotating the now unavailable character. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d8ba0271c0
commit
ca43ad6e21
@ -287,6 +287,8 @@ void CharSel::updateAvailableCharacters()
|
||||
// This re-displays the characters (even though the scroll position has
|
||||
// not changed, one character might have been deleted).
|
||||
updateScrollPosition();
|
||||
// Forces a redraw of the model.
|
||||
m_current_kart = -1;
|
||||
} // updateAvailableCharacters
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user