new shotgun behaviour

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6012 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2011-01-17 18:27:53 +00:00
parent 5438b1a8ab
commit 0b63d7d07e
7 changed files with 140 additions and 66 deletions
+2 -7
View File
@@ -595,13 +595,8 @@ bool needsautoscreenshot = false;
void makeautoscreenshot()
{
extern void *scoremenu, *teammenu, *ctfmenu, *curmenu;
bool scoresee = (curmenu == scoremenu || curmenu == teammenu || curmenu == ctfmenu);
if(scoresee)
{
needsautoscreenshot = false;
screenshot(NULL);
}
needsautoscreenshot = false;
screenshot(NULL);
}
COMMAND(screenshot, ARG_1STR);