Back to floats.
This commit is contained in:
@@ -21,11 +21,11 @@ errorret_t rpgInit(void) {
|
||||
entityInit(ent, ENTITY_TYPE_PLAYER);
|
||||
RPG_CAMERA.mode = RPG_CAMERA_MODE_FOLLOW_ENTITY;
|
||||
RPG_CAMERA.followEntity.followEntityId = ent->id;
|
||||
ent->position[0].tile = 32, ent->position[1].tile = 32;
|
||||
ent->position[0] = 4, ent->position[1] = 4;
|
||||
|
||||
ent = &ENTITIES[1];
|
||||
entityInit(ent, ENTITY_TYPE_NPC);
|
||||
ent->position[0].tile = 40, ent->position[1].tile = 32;
|
||||
ent->position[0] = 6, ent->position[1] = 6;
|
||||
|
||||
errorOk();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user