mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- let TeleportSpecial universally map to Teleport when checking action special names.
This commit is contained in:
parent
db6a284253
commit
052172b9ee
1 changed files with 7 additions and 0 deletions
|
@ -3911,6 +3911,13 @@ int P_FindLineSpecial (const char *string, int *min_args, int *max_args)
|
|||
max = mid - 1;
|
||||
}
|
||||
}
|
||||
// Alias for ZScript. Check here to have universal support everywhere.
|
||||
if (!stricmp(string, "TeleportSpecial"))
|
||||
{
|
||||
if (min_args != NULL) *min_args = 1;
|
||||
if (max_args != NULL) *max_args = 3;
|
||||
return Teleport;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue