mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Adapt Hive Elemental to UDMF
This commit is contained in:
parent
52c319167f
commit
a5ac10733a
3 changed files with 9 additions and 2 deletions
|
@ -3844,6 +3844,10 @@ udmf
|
|||
sprite = "HIVEA0";
|
||||
width = 32;
|
||||
height = 80;
|
||||
arg0
|
||||
{
|
||||
title = "Number of bees";
|
||||
}
|
||||
}
|
||||
128
|
||||
{
|
||||
|
|
|
@ -12859,8 +12859,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
|
|||
return false;
|
||||
break;
|
||||
case MT_HIVEELEMENTAL:
|
||||
if (mthing->extrainfo)
|
||||
mobj->extravalue1 = mthing->extrainfo;
|
||||
if (mthing->args[0])
|
||||
mobj->extravalue1 = mthing->args[0];
|
||||
break;
|
||||
case MT_GLAREGOYLE:
|
||||
case MT_GLAREGOYLEUP:
|
||||
|
|
|
@ -4890,6 +4890,9 @@ static void P_ConvertBinaryMap(void)
|
|||
case 111: //Pop-up Turret
|
||||
mapthings[i].args[0] = mapthings[i].angle;
|
||||
break;
|
||||
case 127: //Hive Elemental
|
||||
mapthings[i].args[0] = mapthings[i].extrainfo;
|
||||
break;
|
||||
case 502: //Star post
|
||||
if (mapthings[i].extrainfo)
|
||||
// Allow thing Parameter to define star post num too!
|
||||
|
|
Loading…
Reference in a new issue