mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-02 19:13:31 +02:00
Add createentity
case 100 for backwards compatibility
This commit is contained in:
parent
bbd83b040c
commit
f460453081
|
@ -2156,6 +2156,9 @@ void entityclass::createentity(int xp, int yp, int t, int meta1, int meta2, int
|
||||||
|
|
||||||
entityclonefix(&entity);
|
entityclonefix(&entity);
|
||||||
break;
|
break;
|
||||||
|
case 100: // Invalid enemy, but gets treated as a teleporter
|
||||||
|
entity.type = EntityType_TELEPORTER;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
entity.lerpoldxp = entity.xp;
|
entity.lerpoldxp = entity.xp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user