Changeset 3196 for code/trunk/src/core/ConsoleCommandCompilation.cc
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/core/ConsoleCommandCompilation.cc
r1747 r3196 28 28 29 29 #include "ConsoleCommandCompilation.h" 30 #include "ConsoleCommand.h" 30 31 #include <fstream> 32 #include <set> 33 #include <string> 34 31 35 #include "util/Debug.h" 32 36 #include "util/ExprParser.h" 37 #include "ConsoleCommand.h" 33 38 34 39 namespace orxonox … … 165 170 COUT(2) << "Warning: Expression could not be parsed to the end! Remains: '" << expr.getRemains() << "'" << std::endl; 166 171 } 167 return expr.getResult();172 return static_cast<float>(expr.getResult()); 168 173 } 169 174 else
Note: See TracChangeset
for help on using the changeset viewer.