Made DamageSource and bIsPuff readonly

This commit is contained in:
jekyllgrim 2024-09-30 16:00:44 +03:00 committed by Ricardo Luís Vaz Silva
parent f8b68a6927
commit 1392db2f5b
2 changed files with 2 additions and 2 deletions

View file

@ -354,7 +354,7 @@ static FFlagDef ActorFlagDefs[]=
DEFINE_FLAG(MF9, SHADOWAIMVERT, AActor, flags9), DEFINE_FLAG(MF9, SHADOWAIMVERT, AActor, flags9),
DEFINE_FLAG(MF9, DECOUPLEDANIMATIONS, AActor, flags9), DEFINE_FLAG(MF9, DECOUPLEDANIMATIONS, AActor, flags9),
DEFINE_FLAG(MF9, NOSECTORDAMAGE, AActor, flags9), DEFINE_FLAG(MF9, NOSECTORDAMAGE, AActor, flags9),
DEFINE_FLAG(MF9, ISPUFF, AActor, flags9), //[AA] was spawned by SpawnPuff DEFINE_PROTECTED_FLAG(MF9, ISPUFF, AActor, flags9), //[AA] was spawned by SpawnPuff
// Effect flags // Effect flags
DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects), DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects),

View file

@ -148,7 +148,7 @@ class Actor : Thinker native
native Actor Target; native Actor Target;
native Actor Master; native Actor Master;
native Actor Tracer; native Actor Tracer;
native Actor DamageSource; native readonly Actor DamageSource;
native Actor LastHeard; native Actor LastHeard;
native Actor LastEnemy; native Actor LastEnemy;
native Actor LastLookActor; native Actor LastLookActor;