Fix for asmjit crash.
This commit is contained in:
parent
1c0f7d08a5
commit
65c2431ffc
1 changed files with 3 additions and 0 deletions
|
|
@ -405,6 +405,9 @@ Class UTHud : BaseStatusBar
|
|||
UTDrawPlainTex(WeaponBox,hudsize*weaponsize,opacity+7);
|
||||
}
|
||||
Weapon wslots[10];
|
||||
// zero-initialize, fixes asmjit crash
|
||||
for ( int i=0; i<10; i++ )
|
||||
wslots[i] = null;
|
||||
// first run, populate the full array of weapons
|
||||
for ( int i=0; i<10; i++ )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue