show reason for crash

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

Former-commit-id: 069eadec8f434e39acf546fdd2c47b87b30f2510
Former-commit-id: 8ed0b0306a962eb5cdad9ad0cd2fe9111b5880f5
This commit is contained in:
iobyte 2023-03-26 01:03:54 +00:00
parent 8ab0887737
commit b08a34aa09

View file

@ -423,6 +423,9 @@ static void SimCarWallCollideResponse(void *clientdata, DtObjectRef obj1, DtObje
tCarElt *carElt = car->carElt;
if (carElt == nullptr)
GfFatal("SimCarWallCollideResponse: car->carElt (null)\n");
sgVec2 vp; // Speed of car collision point in global frame of reference.
sgVec2 rg; // raduis oriented in global coordinates, still relative to CG (rotated aroung CG).