Additional relevant comment changes

This commit is contained in:
toaster 2023-09-01 21:15:45 +01:00
parent 76b798d907
commit 86a61c4c0d
2 changed files with 6 additions and 6 deletions

View file

@ -743,11 +743,11 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
special->shadowscale = 0;
}
/** Saves a player's level progress at a star post
/** Saves a player's level progress at a Cheat Check
*
* \param post The star post to trigger
* \param player The player that should receive the checkpoint
* \param snaptopost If true, the respawn point will use the star post's position, otherwise player x/y and star post z
* \param post The Cheat Check to trigger
* \param player The player that should receive the cheatcheck
* \param snaptopost If true, the respawn point will use the cheatcheck's position, otherwise player x/y and star post z
*/
void P_TouchCheatcheck(mobj_t *post, player_t *player, boolean snaptopost)
{

View file

@ -6561,7 +6561,7 @@ static void P_ConvertBinarySectorTypes(void)
switch(GETSECSPECIAL(sectors[i].special, 4))
{
case 1: //Star post activator
case 1: //Cheat Check activator
sectors[i].specialflags |= SSF_CHEATCHECKACTIVATOR;
break;
case 2: //Exit
@ -6763,7 +6763,7 @@ static void P_ConvertBinaryThingTypes(void)
case 500: //Air bubble patch
mapthings[i].thing_args[0] = !!(mapthings[i].options & MTF_AMBUSH);
break;
case 502: //Star post
case 502: //Cheat Check
if (mapthings[i].extrainfo)
// Allow thing Parameter to define star post num too!
// For cheatchecks above param 15 (the 16th), add 360 to the angle like before and start parameter from 1 (NOT 0)!