Add `createentity` case 100 for backwards compatibility

This commit is contained in:
AllyTally 2023-09-10 16:45:51 -03:00
parent bbd83b040c
commit f460453081
1 changed files with 3 additions and 0 deletions

View File

@ -2156,6 +2156,9 @@ void entityclass::createentity(int xp, int yp, int t, int meta1, int meta2, int
entityclonefix(&entity);
break;
case 100: // Invalid enemy, but gets treated as a teleporter
entity.type = EntityType_TELEPORTER;
break;
}
entity.lerpoldxp = entity.xp;