Skip to content

Commit

Permalink
Fix models
Browse files Browse the repository at this point in the history
  • Loading branch information
Karaulov committed Dec 23, 2022
1 parent 2ee0704 commit bdb5516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/BspRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ void BspRenderer::refreshEnt(int entIdx)
{
std::string modelpath = std::string();

if (ent->hasKey("model") && modelpath.size())
if (ent->hasKey("model") && ent->keyvalues["model"].size())
{
modelpath = ent->keyvalues["model"];
}
Expand Down

0 comments on commit bdb5516

Please sign in to comment.