From: Diane Trout Date: Fri, 11 Apr 2008 04:05:39 +0000 (-0700) Subject: setHeight should have been declaired void instead of float X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=209d393b2701854dbc441b05afd987a185a62b40 setHeight should have been declaired void instead of float --- diff --git a/alg/drawable.hpp b/alg/drawable.hpp index 1ed9169..8760daf 100644 --- a/alg/drawable.hpp +++ b/alg/drawable.hpp @@ -47,7 +47,7 @@ public: float z() const { return draw_z; } //! set how tall our rectangle should be - float setHeight(float h) { draw_height = h; } + void setHeight(float h) { draw_height = h; } //! how thick (high) the track we're drawing is float height() const { return draw_height; }