summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-11 20:39:29 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-11 20:39:29 +0200
commitd4d4b2fadfd38b260a8d8f68f9c929a6444b221e (patch)
tree00fae9610e53172811373ce87ea8a9839100e6e7 /src/Panorama.cxx
parentbd42e86fd53e7e6c6c5bb837762fbc29676614ca (diff)
change export synapsis
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index 516b688..1f13c21 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -67,13 +67,13 @@ Panorama::add_hills(Hills *h) {
}
void
-Panorama::remove_trackpoints() {
+Panorama::remove_hills(int flags) {
Hills *h_new = new Hills();
Hill *m;
for(int i=0; i<mountains->get_num(); i++) {
m = mountains->get(i);
- if (! (m->flags & Hill::TRACK_POINT)) {
+ if (! (m->flags & flags)) {
h_new->add(m);
}
}