mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Adapt Pyre Fly to UDMF
This commit is contained in:
parent
5eb2448a40
commit
fe8c1d1331
3 changed files with 11 additions and 2 deletions
|
@ -3764,6 +3764,12 @@ udmf
|
|||
sprite = "PYREA0";
|
||||
width = 24;
|
||||
height = 34;
|
||||
arg0
|
||||
{
|
||||
title = "Start on fire?";
|
||||
type = 11;
|
||||
enum = "noyes";
|
||||
}
|
||||
}
|
||||
137
|
||||
{
|
||||
|
|
|
@ -12924,8 +12924,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
|
|||
}
|
||||
break;
|
||||
case MT_PYREFLY:
|
||||
//start on fire if Ambush flag is set, otherwise behave normally
|
||||
if (mthing->options & MTF_AMBUSH)
|
||||
//start on fire if args[0], otherwise behave normally
|
||||
if (mthing->args[0])
|
||||
{
|
||||
P_SetMobjState(mobj, mobj->info->meleestate);
|
||||
mobj->extravalue2 = 2;
|
||||
|
|
|
@ -4896,6 +4896,9 @@ static void P_ConvertBinaryMap(void)
|
|||
case 135: //Pterabyte Spawner
|
||||
mapthings[i].args[0] = mapthings[i].extrainfo + 1;
|
||||
break;
|
||||
case 136: //Pyre Fly
|
||||
mapthings[i].args[0] = !!(mapthings[i].options & MTF_AMBUSH);
|
||||
break;
|
||||
case 502: //Star post
|
||||
if (mapthings[i].extrainfo)
|
||||
// Allow thing Parameter to define star post num too!
|
||||
|
|
Loading…
Reference in a new issue