flag nur setzen, wenn die partei im spiel existiert

This commit is contained in:
Christian Schlittchen 2001-12-23 09:31:08 +00:00
parent 1528d7d1a5
commit b802fc0f54
1 changed files with 6 additions and 2 deletions

View File

@ -2713,9 +2713,13 @@ fix_idleout(void)
faction *f; faction *f;
f = findfaction(0); f = findfaction(0);
if(f){
fset(f, FL_NOIDLEOUT); fset(f, FL_NOIDLEOUT);
}
f = findfaction(atoi36("muse")); f = findfaction(atoi36("muse"));
if(f){
fset(f, FL_NOIDLEOUT); fset(f, FL_NOIDLEOUT);
}
return 0; return 0;
} }