mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 01:29:43 +01:00
Fix a couple issues
This commit is contained in:
parent
44e8bce9a0
commit
bd869d9286
2 changed files with 3 additions and 0 deletions
|
@ -2460,6 +2460,7 @@ entclass* entityclass::createentity(int xp, int yp, int t, int meta1, int meta2,
|
|||
const char* type = legacy_id_to_entity(customenemy);
|
||||
set_enemy_type(&entity, type);
|
||||
set_enemy_colour(&entity);
|
||||
break;
|
||||
}
|
||||
case 100: // Invalid enemy, but gets treated as a teleporter
|
||||
entity.type = EntityType_TELEPORTER;
|
||||
|
|
|
@ -2353,6 +2353,8 @@ void Graphics::drawentity(const int i, const int yoff)
|
|||
draw_grid_tile(grphx.im_sprites, obj.entities[i].drawframe, xp, yp - yoff, sprites_rect.w, sprites_rect.h, obj.entities[i].realcol, 6, 6);
|
||||
break;
|
||||
}
|
||||
case EntityRenderType_INVALID:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue