[Bf-blender-cvs] CVS commit: blender/source/gameengine/Physics/Sumo SumoPhysicsController.cpp
Nathan Letwory
jesterking at letwory.net
Sun Aug 1 11:00:39 CEST 2004
jesterking (Nathan Letwory) 2004/08/01 11:00:38 CEST
Modified files:
blender/source/gameengine/Physics/Sumo
SumoPhysicsController.cpp
Log:
Under certain circumstances a null-pointer could get dereferenced. Disabling 'dynamic' on an object was one of the situations. Now checking before using.
NULL->m_mass never works, of course :)
Ryan Showalter spotted and located the problem.
Revision Changes Path
1.11 +2 -2 blender/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/gameengine/Physics/Sumo/SumoPhysicsController.cpp.diff?r1=1.10&r2=1.11&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list