- fix last commit with errors

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7990 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cf119d843cc16289f8e48dad9c132cb0bb53d592
Former-commit-id: 0e0281632cd8a64dda084034102ac0ec753a39e9
This commit is contained in:
torcs-ng 2022-02-04 15:01:38 +00:00
parent 0466f0766c
commit a9433de762
2 changed files with 5 additions and 5 deletions

View file

@ -621,11 +621,11 @@ osg::ref_ptr<osg::Node> SDCar::loadCar(tCarElt *Car, bool tracktype, bool subcat
car->_exhaustNb = MIN(car->_exhaustNb, 2);
car->_exhaustPower = GfParmGetNum(handle, SECT_EXHAUST, PRM_POWER, NULL, 1.0);
if (car->_exhaustNb > 0)
/*if (car->_exhaustNb > 0)
{
this->backfire = new SDBackFire();
backfire->init(handle, path, car, transform1.get());
}
}*/
loadCarLights();

View file

@ -28,14 +28,14 @@
#include <osg/LOD>
#include "OsgWheel.h"
#include "OsgBackFire.h"
//#include "OsgBackFire.h"
#include "OsgCarLight.h"
class SDCarShader;
class SDReflectionMapping;
class SDWheels;
class SDBackFire;
class SDCarLight;
//class SDCarLight;
class SDCar
{
@ -70,7 +70,7 @@ private :
SDWheels wheels;
SDCarShader *shader;
SDReflectionMapping *reflectionMapping;
SDBackFire *backfire;
//SDBackFire *backfire;
int reflectionMappingMethod;