- Update Shadow's driver for fix bug race with opponent

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

Former-commit-id: fc1bf34e2ad4d3e8dbc9d9e8cd26a58f76758fc4
Former-commit-id: 16168ce769698c7339dc0b6095893380ea8075b5
This commit is contained in:
torcs-ng 2015-07-02 20:28:14 +00:00
parent 6126756446
commit 110efd1239
2 changed files with 4 additions and 1 deletions

View file

@ -96,6 +96,7 @@ extern GfLogger* PLogSHADOW;
#define LogSHADOW (*PLogSHADOW)
class AbstractStrategy;
class SimpleStrategy;
//==========================================================================*
// Speed Dreams-Interface
@ -415,7 +416,7 @@ private:
double m_lastSpd;
double m_lastAng;
AbstractStrategy *m_Strategy; // Pit strategy
SimpleStrategy *m_Strategy; // Pit strategy
bool m_CrvComp; // Crv compensation
float clutchtime; // Clutch timer.

View file

@ -40,6 +40,8 @@
#include "Driver.h"
class Opponents;
class AbstractStrategy
{
protected: