From b37f052475d6c2a5954e2d72927122757b03053d Mon Sep 17 00:00:00 2001 From: madbad Date: Thu, 7 Dec 2023 14:28:28 +0000 Subject: [PATCH] Fix wrong line addition from prev commit git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9226 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 2e662a77706385dd8a62dc7fe574fe6a8d3246b7 Former-commit-id: 07c111c9d8ccc06f3ddf55abe4a8bae84a4623cd --- src/modules/graphic/osggraph/OsgMain.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/graphic/osggraph/OsgMain.cpp b/src/modules/graphic/osggraph/OsgMain.cpp index 4d74703f3..b9536eee0 100644 --- a/src/modules/graphic/osggraph/OsgMain.cpp +++ b/src/modules/graphic/osggraph/OsgMain.cpp @@ -354,8 +354,6 @@ int refresh(tSituation *s) double Z = eye[2]; render->UpdateSky(s->currentTime, s->accelTime, X, Y); - tCarElt* curCar = screens->getActiveView()->getCurrentCar(); - int drawDriver = cam->getDrawDriver(); int drawCurrent = cam->getDrawCurrent(); cars->updateCars(s, curCar, drawCurrent, drawDriver);