- let TeleportSpecial universally map to Teleport when checking action special names.

This commit is contained in:
Christoph Oelckers 2020-04-19 18:00:27 +02:00
parent db6a284253
commit 052172b9ee

View file

@ -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;
}