Egg Slimer: Fix typo in binary-to-UDMF conversion and invert speed-up flag

This commit is contained in:
MascaraSnake 2022-01-04 19:57:14 +01:00
parent 46ad1e4a5c
commit 9d67420e5c
3 changed files with 4 additions and 4 deletions

View file

@ -4031,7 +4031,7 @@ udmf
{ {
title = "Speed up when hit?"; title = "Speed up when hit?";
type = 11; type = 11;
enum = "noyes"; enum = "yesno";
} }
} }
202 202

View file

@ -12731,7 +12731,7 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
} }
break; break;
case MT_EGGMOBILE2: case MT_EGGMOBILE2:
if (mthing->args[5]) if (!mthing->args[5])
mobj->flags2 |= MF2_AMBUSH; mobj->flags2 |= MF2_AMBUSH;
break; break;
case MT_EGGMOBILE3: case MT_EGGMOBILE3:

View file

@ -4989,8 +4989,8 @@ static void P_ConvertBinaryMap(void)
case 136: //Pyre Fly case 136: //Pyre Fly
mapthings[i].args[0] = !!(mapthings[i].options & MTF_AMBUSH); mapthings[i].args[0] = !!(mapthings[i].options & MTF_AMBUSH);
break; break;
case 202: //Egg Slimer case 201: //Egg Slimer
mapthings[i].args[5] = !!(mapthings[i].options & MTF_AMBUSH); mapthings[i].args[5] = !(mapthings[i].options & MTF_AMBUSH);
break; break;
case 203: //Egg Colosseum case 203: //Egg Colosseum
mapthings[i].args[5] = LE_BOSS4DROP + mapthings[i].extrainfo * LE_PARAMWIDTH; mapthings[i].args[5] = LE_BOSS4DROP + mapthings[i].extrainfo * LE_PARAMWIDTH;