mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Fix crash
This commit is contained in:
parent
c16d00c170
commit
5d96c43c65
@ -1333,7 +1333,7 @@ int V_FindViewModelByWeaponModel(int weaponindex)
|
|||||||
int len = strlen( weaponModel->name );
|
int len = strlen( weaponModel->name );
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
while ( modelmap[i] != NULL )
|
while ( modelmap[i][0] != NULL )
|
||||||
{
|
{
|
||||||
if ( !strnicmp( weaponModel->name, modelmap[i][0], len ) )
|
if ( !strnicmp( weaponModel->name, modelmap[i][0], len ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user