- Duke: Remove unnecessary playrunning() test within a loop.

This commit is contained in:
Mitchell Richters 2023-03-17 14:41:17 +11:00
parent 130c5315e9
commit e6cffbaefb

View file

@ -90,17 +90,14 @@ void GameInterface::Ticker()
for (int i = connecthead; i >= 0; i = connectpoint2[i])
{
if (playrunning())
{
auto p = &ps[i];
if (p->pals.a > 0)
p->pals.a--;
auto p = &ps[i];
if (p->pals.a > 0)
p->pals.a--;
hud_input(i);
processinputvel(i);
fi.processinput(i);
fi.checksectors(i);
}
hud_input(i);
processinputvel(i);
fi.processinput(i);
fi.checksectors(i);
}
fi.think();