Revision: 1456
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1456&view=rev
Author: rorthomas
Date: 2010-07-17 12:55:58 +0000 (Sat, 17 Jul 2010)
Log Message:
-----------
optimized minor thing
Modified Paths:
--------------
trunk/source/main/InputEngine.cpp
Modified: trunk/source/main/InputEngine.cpp
===================================================================
--- trunk/source/main/InputEngine.cpp 2010-07-16 21:48:16 UTC (rev 1455)
+++ trunk/source/main/InputEngine.cpp 2010-07-17 12:55:58 UTC (rev 1456)
@@ -2255,7 +2255,7 @@
if(value > 0)
value = 0;
else
- value = value *
-1.0;
+ value = -value;
break;
case 1:
// upper range used
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel