CONSTRUCT(Model);
this.model_str = path;
}
- METHOD(Model, model_precache, void(entity this)) {
+ METHOD(Model, model_precache, void(Model this))
+ {
+ TC(Model, this);
string s = this.model_str();
if (s != "" && s != "null" && !fexists(s)) {
LOG_WARNINGF("Missing model: \"%s\"\n", s);
return;
}
- LOG_TRACEF("precache_model(\"%s\")\n", s);
+ LOG_DEBUGF("precache_model(\"%s\")\n", s);
precache_model(s);
}
ENDCLASS(Model)