Change entity to use fixed_t
This commit is contained in:
@ -114,8 +114,8 @@ void drawOverworldDraw(void) {
|
||||
void drawOverworldDrawEntity(const entity_t *entity) {
|
||||
assertNotNull(entity, "Entity pointer cannot be NULL");
|
||||
|
||||
uint32_t x = (uint32_t)floorf(entity->x);
|
||||
uint32_t y = (uint32_t)floorf(entity->y);
|
||||
uint32_t x = fx248Tou32(entity->x);
|
||||
uint32_t y = fx248Tou32(entity->y);
|
||||
uint32_t row = 0;
|
||||
uint32_t col = entity->dir;
|
||||
|
||||
|
Reference in New Issue
Block a user