- fixed a few warnings pointed out by GCC.
This commit is contained in:
parent
72d7a70732
commit
cffe67dcee
5 changed files with 19 additions and 9 deletions
|
|
@ -2510,8 +2510,8 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
|
|||
while (true)
|
||||
{
|
||||
double bestfrac = 1.1;
|
||||
spechit_t besthit;
|
||||
int besthitnum;
|
||||
spechit_t besthit{};
|
||||
int besthitnum = -1;
|
||||
// find the portal nearest to the crossing actor
|
||||
for (unsigned i = 0; i < portalhit.Size();i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue