mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-04-24 18:11:23 +00:00
fix
This commit is contained in:
parent
0f1b36c0a5
commit
0264905503
1 changed files with 5 additions and 1 deletions
|
@ -770,10 +770,14 @@ static qboolean G_LoadClassData( char* fileName )
|
|||
{
|
||||
weapon = GetIDForString( WeaponTable, token );
|
||||
|
||||
if ( weapon >= 0 ) {
|
||||
if ( weapon > 0 ) {
|
||||
g_classData[classIndex].weaponsFlags |= ( 1 << weapon );
|
||||
continue;
|
||||
}
|
||||
if ( weapon == 0) {
|
||||
g_classData[classIndex].weaponsFlags |= 1;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue