fix-attempt for samsat (and others?) not getting scoreboard on autoscreenshot - it's probably useless redunancy though.

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5954 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-12-14 19:29:23 +00:00
parent 3da93e5194
commit 6dbfd9d63a
+7 -2
View File
@@ -595,8 +595,13 @@ bool needsautoscreenshot = false;
void makeautoscreenshot()
{
needsautoscreenshot = false;
screenshot(NULL);
extern void *scoremenu, *teammenu, *ctfmenu, *curmenu;
bool scoresee = (curmenu == scoremenu || curmenu == teammenu || curmenu == ctfmenu);
if(scoresee)
{
needsautoscreenshot = false;
screenshot(NULL);
}
}
COMMAND(screenshot, ARG_1STR);