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:
+7
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user