diff --git a/cl_dll/view.cpp b/cl_dll/view.cpp index d547496e..2af0f8c9 100644 --- a/cl_dll/view.cpp +++ b/cl_dll/view.cpp @@ -1333,7 +1333,7 @@ int V_FindViewModelByWeaponModel(int weaponindex) int len = strlen( weaponModel->name ); int i = 0; - while ( modelmap[i] != NULL ) + while ( modelmap[i][0] != NULL ) { if ( !strnicmp( weaponModel->name, modelmap[i][0], len ) ) {