notify when sound setting change requires restart
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2608 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -793,7 +793,12 @@ VARP(applydialog, 0, 1, 1);
|
||||
|
||||
void addchange(const char *desc, int type)
|
||||
{
|
||||
if(!applydialog || type!=CHANGE_GFX) return;
|
||||
if(!applydialog) return;
|
||||
if(type!=CHANGE_GFX)
|
||||
{
|
||||
conoutf("..restart AssaultCube for this setting to take effect");
|
||||
return;
|
||||
}
|
||||
bool changed = false;
|
||||
loopv(needsapply) if(!strcmp(needsapply[i], desc)) { changed = true; break; }
|
||||
if(!changed) needsapply.add(desc);
|
||||
|
||||
Reference in New Issue
Block a user