- Fixed GCC and Clang compilation errors.
This commit is contained in:
parent
6ffb5fa164
commit
28ac65b25b
3 changed files with 7 additions and 4 deletions
|
|
@ -2122,8 +2122,10 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
|
|||
// it slopes or the player's eyes are bobbing in and out.
|
||||
|
||||
bool oldAboveFakeFloor, oldAboveFakeCeiling;
|
||||
double viewheight = thing->player ? thing->player->viewheight : thing->Height / 2;
|
||||
oldAboveFakeFloor = oldAboveFakeCeiling = false; // pacify GCC
|
||||
double viewheight;
|
||||
// pacify GCC
|
||||
viewheight = thing->player ? thing->player->viewheight : thing->Height / 2;
|
||||
oldAboveFakeFloor = oldAboveFakeCeiling = false;
|
||||
|
||||
if (oldsec->heightsec)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue