Skip to content

Commit

Permalink
hud_custom: Remove 2 unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Jul 25, 2021
1 parent 103400e commit 0592dd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BunnymodXT/hud_custom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ namespace CustomHud
const auto ent = tr.pHit;

edict_t *edicts;
const auto numEdicts = hw.GetEdicts(&edicts);
hw.GetEdicts(&edicts);
const auto index = ent - edicts;
out << "Entity: " << index << '\n';

Expand Down Expand Up @@ -906,7 +906,6 @@ namespace CustomHud
if (CVars::bxt_collision_depth_map.GetBool())
{
constexpr float M_DEG2RAD = float(M_PI) / 180.f;
constexpr float M_RAD2DEG = 180.f / float(M_PI);

const auto hull_type = static_cast<HLStrafe::HullType>(std::clamp(CVars::bxt_collision_depth_map_hull.GetInt(), 0, 2));

Expand Down

0 comments on commit 0592dd5

Please sign in to comment.