mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +00:00
- Duke: Remove unnecessary playrunning()
test within a loop.
This commit is contained in:
parent
130c5315e9
commit
e6cffbaefb
1 changed files with 7 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue