mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fix compile error
This commit is contained in:
parent
3ac2e74f1c
commit
4f078dfcb3
1 changed files with 1 additions and 1 deletions
|
@ -2060,7 +2060,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(DBaseStatusBar, GetInventoryIcon, GetInventoryIcon
|
|||
PARAM_OBJECT(item, AInventory);
|
||||
PARAM_INT(flags);
|
||||
int applyscale;
|
||||
FTextureID icon = GetInventoryIcon(item, flags, &applyscale);
|
||||
FTextureID icon = FSetTextureID(GetInventoryIcon(item, flags, &applyscale));
|
||||
if (numret >= 1) ret[0].SetInt(icon.GetIndex());
|
||||
if (numret >= 2) ret[1].SetInt(applyscale);
|
||||
return MIN(numret, 2);
|
||||
|
|
Loading…
Reference in a new issue