mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-22 12:11:17 +00:00
fixed warning
This commit is contained in:
parent
0d3bac8da9
commit
049bd41efe
1 changed files with 1 additions and 1 deletions
|
@ -2238,7 +2238,7 @@ DEFINE_ACTION_FUNCTION(_ExhumedPlayer, IsUnderwater)
|
|||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(ExhumedPlayer);
|
||||
auto nLocalPlayer = self - (ExhumedPlayer*)PlayerArray;
|
||||
ACTION_RETURN_BOOL(getPlayer(nLocalPlayer)->pPlayerViewSect->Flag & kSectUnderwater);
|
||||
ACTION_RETURN_BOOL(getPlayer((int)nLocalPlayer)->pPlayerViewSect->Flag & kSectUnderwater);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(_ExhumedPlayer, GetAngle)
|
||||
|
|
Loading…
Reference in a new issue