1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

options to spawn entity 21, and no activity zone

This commit is contained in:
AllyTally 2022-11-20 00:13:03 -04:00 committed by Misa Elizabeth Kai
parent b7da899674
commit 02ace10df9

View file

@ -1917,8 +1917,11 @@ void mapclass::loadlevel(int rx, int ry)
usethisy -= 8;
}
obj.createentity(ex, usethisy + 8, 20, usethistile);
obj.createentity(ex, usethisy + 8, 20 + SDL_clamp(ent.p2, 0, 1), usethistile);
if (obj.customscript != "")
{
obj.createblock(ACTIVITY, ex - 8, usethisy + 8, 20, 16, 35);
}
break;
}
case 19: //Script Box