@@ -171,12 +171,6 @@ int path_to_xyz(const char *tilepath, const char *path, char *xmlconfig, int *px
171171}
172172
173173#ifdef METATILE
174- // Returns the path to the meta-tile and the offset within the meta-tile
175- int xyz_to_meta (char * path , size_t len , const char * tile_dir , const char * xmlconfig , int x , int y , int z )
176- {
177- return xyzo_to_meta (path , len , tile_dir , xmlconfig , "" , x , y , z );
178- }
179-
180174// Returns the path to the meta-tile and the offset within the meta-tile
181175int xyzo_to_meta (char * path , size_t len , const char * tile_dir , const char * xmlconfig , const char * options , int x , int y , int z )
182176{
@@ -214,6 +208,12 @@ int xyzo_to_meta(char *path, size_t len, const char *tile_dir, const char *xmlco
214208#endif // DIRECTORY_HASH
215209 return offset ;
216210}
211+
212+ // Returns the path to the meta-tile and the offset within the meta-tile
213+ int xyz_to_meta (char * path , size_t len , const char * tile_dir , const char * xmlconfig , int x , int y , int z )
214+ {
215+ return xyzo_to_meta (path , len , tile_dir , xmlconfig , "" , x , y , z );
216+ }
217217#else // METATILE
218218void xyz_to_path (char * path , size_t len , const char * tile_dir , const char * xmlconfig , int x , int y , int z )
219219{
0 commit comments