- exported all native components of APlayerPawn.
Only the class definition itself remains and needs to be taken care of.
This commit is contained in:
parent
3314a1efe5
commit
c18e895272
20 changed files with 139 additions and 272 deletions
|
|
@ -1066,7 +1066,7 @@ static int DamageMobj (AActor *target, AActor *inflictor, AActor *source, int da
|
|||
else
|
||||
{
|
||||
// Players are optionally excluded from getting thrust by damage.
|
||||
if (static_cast<APlayerPawn *>(target)->PlayerFlags & PPF_NOTHRUSTWHENINVUL)
|
||||
if (target->IntVar(NAME_PlayerFlags) & PPF_NOTHRUSTWHENINVUL)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue