mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 23:54:17 +00:00
Renamed Thing_Damage3 to DamageActor
This commit is contained in:
parent
d14782fb37
commit
d7b5bdc0f7
1 changed files with 2 additions and 2 deletions
|
@ -4450,7 +4450,7 @@ enum EACSFunctions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ACSF_CheckClass = 200,
|
ACSF_CheckClass = 200,
|
||||||
ACSF_Thing_Damage3, // [arookas]
|
ACSF_DamageActor, // [arookas]
|
||||||
|
|
||||||
// ZDaemon
|
// ZDaemon
|
||||||
ACSF_GetTeamScore = 19620, // (int team)
|
ACSF_GetTeamScore = 19620, // (int team)
|
||||||
|
@ -6037,7 +6037,7 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
||||||
return !!PClass::FindActor(clsname);
|
return !!PClass::FindActor(clsname);
|
||||||
}
|
}
|
||||||
|
|
||||||
case ACSF_Thing_Damage3: // [arookas] wrapper around P_DamageMobj
|
case ACSF_DamageActor: // [arookas] wrapper around P_DamageMobj
|
||||||
{
|
{
|
||||||
// (target, ptr_select1, inflictor, ptr_select2, amount, damagetype)
|
// (target, ptr_select1, inflictor, ptr_select2, amount, damagetype)
|
||||||
AActor* target = COPY_AAPTR(SingleActorFromTID(args[0], activator), args[1]);
|
AActor* target = COPY_AAPTR(SingleActorFromTID(args[0], activator), args[1]);
|
||||||
|
|
Loading…
Reference in a new issue