FULLPIPE: Fix inventory items rebuilding
This commit is contained in:
parent
0f0fee3add
commit
e070485169
1 changed files with 4 additions and 0 deletions
|
@ -211,11 +211,15 @@ int Inventory2::getItemFlags(int itemId) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Inventory2::rebuildItemRects() {
|
void Inventory2::rebuildItemRects() {
|
||||||
|
debugC(2, kDebugInventory, "rebuildItemRects()");
|
||||||
|
|
||||||
_scene = g_fp->accessScene(_sceneId);
|
_scene = g_fp->accessScene(_sceneId);
|
||||||
|
|
||||||
if (!_scene)
|
if (!_scene)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
_inventoryIcons.clear();
|
||||||
|
|
||||||
_picture = _scene->getBigPicture(0, 0);
|
_picture = _scene->getBigPicture(0, 0);
|
||||||
_picture->setAlpha(50);
|
_picture->setAlpha(50);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue