mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- added ACS strarg function which can convert a string into a string argument for ACS specials.
This commit is contained in:
parent
4bcbd5c011
commit
f82ab889b2
1 changed files with 3 additions and 1 deletions
|
@ -4367,6 +4367,7 @@ enum EACSFunctions
|
|||
ACSF_SetTranslation,
|
||||
ACSF_GetActorFloorTexture,
|
||||
ACSF_GetActorFloorTerrain,
|
||||
ACSF_StrArg,
|
||||
|
||||
|
||||
// OpenGL stuff
|
||||
|
@ -6087,7 +6088,8 @@ doplaysound: if (funcIndex == ACSF_PlayActorSound)
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
case ACSF_StrArg:
|
||||
return -FName(FBehavior::StaticLookupString(args[0]));
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue