Fixed local variable (newCar) being used without initialization

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

Former-commit-id: 5edb93282389ecffd5a97ea35036c8a15e90c868
Former-commit-id: ae5c0bb658f35eb7548284459293489bb5f554ba
This commit is contained in:
beaglejoe 2013-12-06 05:36:10 +00:00
parent 44b4f820d5
commit b6a399f147

View file

@ -1757,7 +1757,7 @@ class cGrCarCamRoadZoomTVD : public cGrCarCamRoadZoom
void update(tCarElt *car, tSituation *s) {
int i, j;
int newCar;
int newCar = 0;
double curPrio;
double deltaEventTime = s->currentTime - lastEventTime;
double deltaViewTime = s->currentTime - lastViewTime;