Revision: 1696
http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1696&view=rev
Author: rorthomas
Date: 2011-02-22 22:24:04 +0000 (Tue, 22 Feb 2011)
Log Message:
-----------
fixed invisible ropes again
Modified Paths:
--------------
trunk/source/main/physics/input_output/BeamLoadTruck.cpp
Modified: trunk/source/main/physics/input_output/BeamLoadTruck.cpp
===================================================================
--- trunk/source/main/physics/input_output/BeamLoadTruck.cpp 2011-02-22
21:48:03 UTC (rev 1695)
+++ trunk/source/main/physics/input_output/BeamLoadTruck.cpp 2011-02-22
22:24:04 UTC (rev 1696)
@@ -1992,9 +1992,9 @@
else if (mode==14)
{
//parse ropes
- int id1=0, id2=0, key=0, group=0;
+ int id1=0, id2=0, group=0;
char option = 'n';
- int result = sscanf(line,"%i, %i, %i, %i, %c", &id1,
&id2, &key, &option);
+ int result = sscanf(line,"%i, %i, %c", &id1, &id2,
&option);
if (result < 2 || result == EOF) {
LogManager::getSingleton().logMessage("Error
parsing File (Ropes) " + String(fname) +" line " +
StringConverter::toString(linecounter) + ". trying to continue ...");
continue;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel