- floatified the remaining fixed point variables accessible through DECORATE. PROP_FIXED_PARAM is no longer used anywhere.
This commit is contained in:
parent
7a26318bf0
commit
4d22b346f4
8 changed files with 30 additions and 35 deletions
|
|
@ -4014,7 +4014,7 @@ void DLevelScript::DoSetActorProperty (AActor *actor, int property, int value)
|
|||
|
||||
case APROP_AttackZOffset:
|
||||
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
static_cast<APlayerPawn *>(actor)->AttackZOffset = value;
|
||||
static_cast<APlayerPawn *>(actor)->AttackZOffset = ACSToDouble(value);
|
||||
break;
|
||||
|
||||
case APROP_StencilColor:
|
||||
|
|
@ -4108,7 +4108,7 @@ int DLevelScript::GetActorProperty (int tid, int property)
|
|||
case APROP_AttackZOffset:
|
||||
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
|
||||
{
|
||||
return static_cast<APlayerPawn *>(actor)->AttackZOffset;
|
||||
return DoubleToACS(static_cast<APlayerPawn *>(actor)->AttackZOffset);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue