mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Re-add fixed
bool
Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
parent
a72966426b
commit
811d2bdcf6
1 changed files with 3 additions and 1 deletions
|
@ -290,11 +290,13 @@ void scriptclass::run(void)
|
|||
}
|
||||
else if (words[1] == "platforms" || words[1] == "moving")
|
||||
{
|
||||
const bool fixed = words[1] == "moving";
|
||||
|
||||
for (size_t edi = 0; edi < obj.entities.size(); edi++)
|
||||
{
|
||||
if (obj.entities[edi].rule == 2 && obj.entities[edi].animate == 100)
|
||||
{
|
||||
if (words[1] == "moving")
|
||||
if (fixed)
|
||||
{
|
||||
obj.disableblockat(obj.entities[edi].xp, obj.entities[edi].yp);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue