summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmheightfieldroam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpovmodeler/pmheightfieldroam.cpp')
-rw-r--r--kpovmodeler/pmheightfieldroam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpovmodeler/pmheightfieldroam.cpp b/kpovmodeler/pmheightfieldroam.cpp
index 87856155..5b55b65e 100644
--- a/kpovmodeler/pmheightfieldroam.cpp
+++ b/kpovmodeler/pmheightfieldroam.cpp
@@ -180,7 +180,7 @@ bool PMHeightFieldROAM::imageToData(const TQString &fileName)
colourIndex = false;
else
{
- scaledMap = scaledMap.convertDepthWithPalette( 8, mapFile.tqcolorTable( ), 256 );
+ scaledMap = scaledMap.convertDepthWithPalette( 8, mapFile.colorTable( ), 256 );
colourIndex = true;
}