- 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

@ -89,8 +89,6 @@ void GameInterface::Ticker()
movedummyplayers();//ST 13
for (int i = connecthead; i >= 0; i = connectpoint2[i])
{
if (playrunning())
{
auto p = &ps[i];
if (p->pals.a > 0)
@ -101,7 +99,6 @@ void GameInterface::Ticker()
fi.processinput(i);
fi.checksectors(i);
}
}
fi.think();