diff options
Diffstat (limited to 'src/variabledata.h')
-rw-r--r-- | src/variabledata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/variabledata.h b/src/variabledata.h index 4f58c1fd..f73ebab2 100644 --- a/src/variabledata.h +++ b/src/variabledata.h @@ -72,14 +72,14 @@ private: class FloatData : public VariableData { public: - FloatData(float value) { mData = value; } + FloatData(double value) { mData = value; } - float getData() const { return mData; } + double getData() const { return mData; } int getType() const { return DATA_FLOAT; } private: - float mData; + double mData; }; class BoolData : public VariableData |