Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <stdlib.h>

#include "Common/STLTypedefs.h"
#include "Common/FramePacer.h"
#include "Common/Thing.h"
#include "Common/Xfer.h"
#include "GameClient/Drawable.h"
Expand Down Expand Up @@ -102,7 +103,9 @@ W3DPoliceCarDraw::~W3DPoliceCarDraw()
void W3DPoliceCarDraw::doDrawModule(const Matrix3D* transformMtx)
{
const Real floatAmt = 8.0f;
const Real animAmt = 0.25;

// TheSuperHackers @tweak bobtista 24/06/2026 The police car light animation time step is now decoupled from the render update.
Comment thread
bobtista marked this conversation as resolved.
const Real animAmt = 0.25f * TheFramePacer->getActualLogicTimeScaleOverFpsRatio();

// get pointers to our render objects that we'll need
RenderObjClass* policeCarRenderObj = getRenderObject();
Expand Down
Loading