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/defaults.cpp | |
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/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 9be5971d..c08fb357 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -35,6 +35,11 @@ VariableData* createData(int defData) return new IntData(defData); } +VariableData* createData(double defData) +{ + return new FloatData(defData); +} + VariableData* createData(float defData) { return new FloatData(defData); |