diff --git a/src/game/g_player.pas b/src/game/g_player.pas
index ea2aea5d3dba7f8568d18fa7f17e894a745dc984..312f186db0e7bca4cd4823bdcec36a7dd2592537 100644 (file)
--- a/src/game/g_player.pas
+++ b/src/game/g_player.pas
FSavedStateNum: Integer;
FModel: TPlayerModel;
- FPunchAnim: TAnimationState;
+ FPunchAnim: TAnimState;
FActionPrior: Byte;
FActionAnim: Byte;
FActionForce: Boolean;
property Berserk: Integer read FBerserk;
property Pain: Integer read FPain;
property Pickup: Integer read FPickup;
- property PunchAnim: TAnimationState read FPunchAnim write FPunchAnim;
+ property PunchAnim: TAnimState read FPunchAnim write FPunchAnim;
property SpawnInvul: Integer read FSpawnInvul;
property Ghost: Boolean read FGhost;
FNetTime := 0;
FWaitForFirstSpawn := false;
- FPunchAnim := TAnimationState.Create(False, 1, 4);
+ FPunchAnim := TAnimState.Create(False, 1, 4);
FPunchAnim.Disable;
resetWeaponQueue();
FJetSoundOn.Free();
FJetSoundOff.Free();
FModel.Free();
- FPunchAnim.Free();
+ FPunchAnim.Invalidate;
inherited;
end;