1 --- src/utils/bullet/BulletSoftBody/btSoftBodyInternals.h 2010-02-18 03:52:17.000000000 +0500
2 +++ src/utils/bullet/BulletSoftBody/btSoftBodyInternals.h.new 2011-10-18 13:15:11.733697235 +0600
4 #include "BulletCollision/CollisionShapes/btConvexInternalShape.h"
5 #include "BulletCollision/NarrowPhaseCollision/btGjkEpa2.h"
7 +#include <string.h> //for memset
14 static inline void ZeroInitialize(T& value)
16 - static const T zerodummy;
18 + memset(&value,0,sizeof(T));
22 --- src/scenes/evolution.cpp 2010-03-08 03:06:46.000000000 +0500
23 +++ src/scenes/evolution.cpp.new 2011-10-18 13:16:50.400360540 +0600
26 else if ( world->mouseRayHitEntity->type == 0 )
28 - CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
29 + const CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
30 Textprinter::Instance()->print( oldx+margin, oldy, "critter");
31 Textprinter::Instance()->print(oldx+rmargindistance, oldy, "%1i", c->critterID);
32 Textprinter::Instance()->print( oldx+margin, oldy+vspacer, "energy");