- write_uint16_bigendian(world->player->y, file);
- write_uint16_bigendian(world->player->x, file);
- write_uint16_bigendian(world->monster->y, file);
- write_uint16_bigendian(world->monster->x, file);
- write_uint16_bigendian(world->monster->next->y, file);
- write_uint16_bigendian(world->monster->next->x, file);
- write_uint16_bigendian(world->monster->next->next->y, file);
- write_uint16_bigendian(world->monster->next->next->x, file);
+ write_uint16_bigendian(world->player->pos.y, file);
+ write_uint16_bigendian(world->player->pos.x, file);
+ write_uint16_bigendian(world->monster->pos.y, file);
+ write_uint16_bigendian(world->monster->pos.x, file);
+ write_uint16_bigendian(world->monster->next->pos.y, file);
+ write_uint16_bigendian(world->monster->next->pos.x, file);
+ write_uint16_bigendian(world->monster->next->next->pos.y, file);
+ write_uint16_bigendian(world->monster->next->next->pos.x, file);