Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Sep 26, 2024
1 parent 6c6ec0b commit d6e1962
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Quake/ls_progs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,12 @@ static int LS_progs_globalvariables_integer(lua_State* state)
class LS_StringCache
{
public:
LS_StringCache()
{
// id1 1.06 has 7304 offset
offsets.reserve(8192);
}

const char* Get(size_t index, int* length, int* offset)
{
Update();
Expand Down

0 comments on commit d6e1962

Please sign in to comment.