mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- Fixed: Setting an actor's score with ACS also modified its nametag.
SVN r3335 (trunk)
This commit is contained in:
parent
038d3cc820
commit
243197bfd4
1 changed files with 1 additions and 0 deletions
|
@ -2771,6 +2771,7 @@ void DLevelScript::DoSetActorProperty (AActor *actor, int property, int value)
|
||||||
|
|
||||||
case APROP_Score:
|
case APROP_Score:
|
||||||
actor->Score = value;
|
actor->Score = value;
|
||||||
|
break;
|
||||||
|
|
||||||
case APROP_NameTag:
|
case APROP_NameTag:
|
||||||
actor->SetTag(FBehavior::StaticLookupString(value));
|
actor->SetTag(FBehavior::StaticLookupString(value));
|
||||||
|
|
Loading…
Reference in a new issue