Load is now rounded compile time.

This commit is contained in:
2025-08-18 21:46:12 -05:00
parent d79e12ffaa
commit 1e57183ca1
5 changed files with 9 additions and 13 deletions

View File

@@ -40,8 +40,8 @@ void entityLoad(entity_t *entity, const entity_t *source) {
memoryZero(entity, sizeof(entity_t));
entity->type = source->type;
entity->x = (uint32_t)roundf(source->x / (float_t)TILE_WIDTH_HEIGHT);
entity->y = (uint32_t)roundf(source->y / (float_t)TILE_WIDTH_HEIGHT);
entity->x = source->x;
entity->y = source->y;
entity->dir = source->dir;
entity->id = source->id;