Permalink
Browse files

Merge pull request #921 from jaytersen/bug/easyfix

Fix 'missing' model warnings in debug build
  • Loading branch information...
DolceTriade committed Apr 7, 2016
2 parents b4f1f0b + a4b1158 commit 6f5069bec0eaa5cd64e63bb21c6d624616f8b6a8
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/cgame/cg_api.cpp
View
@@ -416,6 +416,11 @@ void trap_R_LoadWorldMap( const char *mapname )
qhandle_t trap_R_RegisterModel( const char *name )
{
int handle;
if ( !CG_FileExists( name ) ) {
return 0;
}
VM::SendMsg<Render::RegisterModelMsg>(name, handle);
return handle;
}

0 comments on commit 6f5069b

Please sign in to comment.