And it all ended with a real bug to fix; how poetic
All checks were successful
k4 Build Test / do_the_build (push) Successful in 43s
All checks were successful
k4 Build Test / do_the_build (push) Successful in 43s
This commit is contained in:
parent
46bd5e8d5e
commit
b7c0b0780c
@ -342,7 +342,9 @@ static int game_addentity(lua_State *L) {
|
||||
|
||||
setstrstatic("mdl", c.mdl, sizeof(c.mdl));
|
||||
|
||||
c.cache = k3MdlCopySubs((struct k3Mdl*) resman_ref(RESMAN_MODEL, c.mdl));
|
||||
if(strlen(c.mdl)) {
|
||||
c.cache = k3MdlCopySubs((struct k3Mdl*) resman_ref(RESMAN_MODEL, c.mdl));
|
||||
}
|
||||
|
||||
game_addcomponent(render, &c);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user