Revision: 2728
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=2728&view=rev
Author:   ulteq
Date:     2012-05-27 19:19:29 +0000 (Sun, 27 May 2012)
Log Message:
-----------
miniature fix

Modified Paths:
--------------
    trunk/source/main/gameplay/BeamEngine.cpp

Modified: trunk/source/main/gameplay/BeamEngine.cpp
===================================================================
--- trunk/source/main/gameplay/BeamEngine.cpp   2012-05-27 09:21:33 UTC (rev 
2727)
+++ trunk/source/main/gameplay/BeamEngine.cpp   2012-05-27 19:19:29 UTC (rev 
2728)
@@ -392,7 +392,7 @@
 
 void BeamEngine::toggleAutoMode()
 {
-       automode = (automode + 1) % MANUAL_RANGES;
+       automode = (automode + 1) % (MANUAL_RANGES + 1);
 
        // this switches off all automatic symbols when in manual mode
        if (automode != AUTOMATIC)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rigsofrods-devel mailing list
Rigsofrods-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to