summaryrefslogtreecommitdiff
path: root/src/Hill.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 19:58:31 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-04-13 19:58:31 +0000
commit5e7c5bafd0828f09ca66d5311636700b51cc77ea (patch)
treed41aff3d84938c44410be4ae212b133c0ae1f0ca /src/Hill.cxx
parenta25441aaab4c15bc5a0dba9dbd4d26cc36780163 (diff)
bla
bla
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r--src/Hill.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx
index e3d999c..2790712 100644
--- a/src/Hill.cxx
+++ b/src/Hill.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Hill.cxx,v 1.2 2005/04/13 19:09:19 hofmann Exp $"
+// "$Id: Hill.cxx,v 1.3 2005/04/13 21:58:31 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -32,6 +32,8 @@ Mountain::Mountain(const char *n, double p, double l, double h) {
lam = l;
height = h;
alph = 0.0;
+ x = 0;
+ y = 0;
next = NULL;
next_visible = NULL;
}
@@ -75,6 +77,6 @@ Mountain::get_next_visible() {
}
void
-Mountain::set_first_visible() {
+Mountain::clear_next_visible() {
next_visible = NULL;
}