Added AProp_MeleeRange to SetActorProperty.

This commit is contained in:
John Palomo Jr 2014-09-24 03:56:20 -04:00
parent 0b44b51b00
commit 79d9a573bb
1 changed files with 4 additions and 0 deletions

View File

@ -3843,6 +3843,10 @@ void DLevelScript::DoSetActorProperty (AActor *actor, int property, int value)
actor->reactiontime = value;
break;
case APROP_MeleeRange:
actor->meleerange = value;
break;
case APROP_ViewHeight:
if (actor->IsKindOf (RUNTIME_CLASS (APlayerPawn)))
static_cast<APlayerPawn *>(actor)->ViewHeight = value;