fix compilation errors

This commit is contained in:
David Rose 2008-09-25 20:58:07 +00:00
parent 0df0bf63ce
commit a09a538878
1 changed files with 2 additions and 2 deletions

View File

@ -464,7 +464,7 @@ set_heightfield(const PNMImage &image) {
}
INLINE bool GeoMipTerrain::
set_heightfield(const string &path) {
set_heightfield(Filename(path));
return set_heightfield(Filename(path));
}
////////////////////////////////////////////////////////////////////
@ -500,7 +500,7 @@ set_color_map(const Texture *tex) {
}
INLINE bool GeoMipTerrain::
set_color_map(const string &path) {
set_heightfield(Filename(path));
return set_heightfield(Filename(path));
}
////////////////////////////////////////////////////////////////////