diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-30 00:30:40 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-30 00:30:40 +0200 |
commit | 4cd89f7fc9a3846e9d42b1d401453b8b55a2990f (patch) | |
tree | 1e1519f02b10b8a3c584fff93063d42b0d8a55d4 /src/variabledata.h | |
parent | ae898aa1a5175b2b08f7248e4cd89bf61bc8e4be (diff) | |
download | mana-4cd89f7fc9a3846e9d42b1d401453b8b55a2990f.tar.gz mana-4cd89f7fc9a3846e9d42b1d401453b8b55a2990f.tar.bz2 mana-4cd89f7fc9a3846e9d42b1d401453b8b55a2990f.tar.xz mana-4cd89f7fc9a3846e9d42b1d401453b8b55a2990f.zip |
Changed the FloatData class to store double instead of single floats.
Also fixed a few compile warnings.
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 |