Fixed race restarting.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-07-19 00:11:03 +00:00
parent b1c970684c
commit 969314e1f0

View File

@ -126,9 +126,16 @@ protected:
/** Pointer to the track. The track is managed by world. */
Track* m_track;
/** Pointer to the race GUI. The race GUI is handedl by world. */
/** Pointer to the race GUI. The race GUI is handled by world. */
RaceGUIBase *m_race_gui;
/** The actual race gui needs to be saved when the race result gui is
displayed since it is still needed in case of a restart, and it
can't simply be created again (since it assumes that it can render
to texture without having any scene nodes, but in case of a restart
there are scene nodes). */
RaceGUIBase *m_saved_race_gui;
bool m_clear_back_buffer;
irr::video::SColor m_clear_color;