Documented problem

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-08-08 00:59:19 +00:00
parent e940cccc36
commit 35d2456800

View File

@@ -215,6 +215,9 @@ void MainMenuScreen::eventCallback(Widget* widget, const std::string& name, cons
// ------------------------------------------------------------------------------------------------------
void * MainMenuScreen::downloadNews( void * pthis)
{
// FIXME: this code is wrong, "pt" might have been deleted by the
// time the download is done (by having switched to another screen,
// or exiting the game, etc...)
MainMenuScreen * pt = (MainMenuScreen*)pthis;
if(download("news"))