Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed May 8, 2024
1 parent 8febdd2 commit 74ca922
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/cgame/cg_marks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,14 @@ void CG_ProcessMarks()
}

// Shared with the engine.
std::vector<markMsgInput_t> markMsgInput(numMarks);
std::vector<markMsgOutput_t> markMsgOutput(numMarks);
std::vector<markMsgInput_t> markMsgInput;
std::vector<markMsgOutput_t> markMsgOutput;

markMsgInput.reserve( MAX_MARK_FRAGMENTS );
markMsgOutput.reserve( MAX_MARK_FRAGMENTS );

markMsgInput.resize( numMarks );
markMsgInput.resize( numMarks );

for ( size_t n = 0; n < numMarks; n++ )
{
Expand Down

0 comments on commit 74ca922

Please sign in to comment.