Actually increase backtrack array to max player limit
This commit is contained in:
parent
2009bf6eac
commit
8ac1cbbc50
@ -22,7 +22,7 @@ struct BacktrackData
|
||||
void Init();
|
||||
void Run();
|
||||
void Draw();
|
||||
extern BacktrackData headPositions[24][13];
|
||||
extern BacktrackData headPositions[32][13];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ namespace backtrack
|
||||
CatVar enable(CV_SWITCH, "backtrack", "0", "Enable backtrack",
|
||||
"For legit play only as of right now.");
|
||||
CatVar draw_bt(CV_SWITCH, "backtrack_draw", "0", "Draw", "Draw backtrack ticks");
|
||||
BacktrackData headPositions[24][13];
|
||||
BacktrackData headPositions[32][13];
|
||||
|
||||
//=======================================================================
|
||||
inline float distance_point_to_line(Vector Point, Vector LineOrigin, Vector Dir)
|
||||
@ -137,7 +137,7 @@ void Draw()
|
||||
return;
|
||||
if (!draw_bt)
|
||||
return;
|
||||
for (int i = 0; i < 24; i++)
|
||||
for (int i = 0; i < 32; i++)
|
||||
for (int j = 0; j < 12; j++)
|
||||
{
|
||||
auto hbpos = headPositions[i][j].hitboxpos;
|
||||
|
Reference in New Issue
Block a user