Skip to content

Commit

Permalink
Client: Entity: Fix build number
Browse files Browse the repository at this point in the history
  • Loading branch information
tmp64 committed Nov 25, 2023
1 parent 7c259b2 commit 4df9d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/client/entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "Exports.h"
#include "hud/spectator.h"
#include "cl_voice_status.h"
#include "engine_patches.h"
#include "engine_builds.h"

#include "particleman.h"
extern IParticleMan *g_pParticleMan;
Expand Down Expand Up @@ -94,7 +94,7 @@ void CL_DLLEXPORT HUD_TxferLocalOverrides(struct entity_state_s *state, const st
// So have to hack in here. Called once per packet.
if (!r_dynamic_ent_light.GetBool())
{
if (gHUD.GetEngineBuild() >= ENGINE_BUILD_ANNIVERSARY)
if (gHUD.GetEngineBuild() >= ENGINE_BUILD_ANNIVERSARY_FIRST)
{
frame_9884_t *frame = (frame_9884_t *)((byte *)client - offsetof(frame_9884_t, clientdata));
for (int i = 0; i < frame->packet_entities.num_entities; i++)
Expand Down

0 comments on commit 4df9d89

Please sign in to comment.