mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01: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 i = 0;
|
||||
|
||||
while ( modelmap[i] != NULL )
|
||||
while ( modelmap[i][0] != NULL )
|
||||
{
|
||||
if ( !strnicmp( weaponModel->name, modelmap[i][0], len ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user