Skip to content

Commit

Permalink
fix not precached weapon models (fixes #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
wootguy committed Nov 5, 2024
1 parent 73a61b4 commit cf15e8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlls/eng_wrappers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ const char* GET_MODEL(const char* model) {

if (g_modelReplacements.find(lowerPath) != g_modelReplacements.end()) {
model = g_modelReplacements[lowerPath].c_str();
lowerPath = toLowerCase(model);
}

if (g_precachedModels.find(lowerPath) == g_precachedModels.end()) {
Expand Down

0 comments on commit cf15e8e

Please sign in to comment.