mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-20 16:41:02 +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;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue