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