- removed all direct access to AInventory's members.
We are getting closer to make class Inventory fully scripted.
This commit is contained in:
parent
e333a886e9
commit
a573c63f60
11 changed files with 64 additions and 56 deletions
|
|
@ -361,7 +361,7 @@ static void LoadAltHudStuff()
|
|||
}
|
||||
else tex.SetInvalid();
|
||||
|
||||
if (ti) ((AInventory*)GetDefaultByType(ti))->AltHUDIcon = tex;
|
||||
if (ti) GetDefaultByType(ti)->TextureIDVar(NAME_AltHUDIcon) = tex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue