diff options
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r-- | src/Panorama.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx index b0d0228..ad0fdf4 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -130,7 +130,9 @@ Panorama::comp_params(Hills *h) { int ret; ret = proj->comp_params(h, &parms); - update_visible_mountains(); + if (ret == 0) + update_visible_mountains(); + return ret; } |