Skip to content

Commit

Permalink
Update hud_debug: fix win crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Elinsrc authored Sep 5, 2024
1 parent e559845 commit f192f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cl_dll/hud_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ void CHudDebug::AllClientsInfo(int r, int g, int b)

int entityIndex;


if( g_iUser1 )
entityIndex = g_iUser2;
else
Expand All @@ -439,7 +438,7 @@ void CHudDebug::AllClientsInfo(int r, int g, int b)
Vector Top = Vector(pClient->origin.x, pClient->origin.y, pClient->origin.z + pClient->curstate.mins.z);
Vector Bot = Vector(pClient->origin.x, pClient->origin.y, pClient->origin.z + pClient->curstate.maxs.z);

float ScreenTop[2], ScreenBot[2];
float ScreenTop[3], ScreenBot[3];

bool m_bScreenTop = CalcScreen(Top, ScreenTop);
bool m_bScreenBot = CalcScreen(Bot, ScreenBot);
Expand Down

0 comments on commit f192f58

Please sign in to comment.