diff options
| author | Eugene Sandulenko | 2016-08-28 11:43:06 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2016-08-28 11:43:25 +0200 | 
| commit | e070485169da6331db0ebe63b19db9234c352ddc (patch) | |
| tree | d1a7c3d95cd4440ee35deb2a0dafccb7741fefe8 | |
| parent | 0f0fee3add3dcff4740bb3c68765c109331573bc (diff) | |
| download | scummvm-rg350-e070485169da6331db0ebe63b19db9234c352ddc.tar.gz scummvm-rg350-e070485169da6331db0ebe63b19db9234c352ddc.tar.bz2 scummvm-rg350-e070485169da6331db0ebe63b19db9234c352ddc.zip  | |
FULLPIPE: Fix inventory items rebuilding
| -rw-r--r-- | engines/fullpipe/inventory.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp index 70ad19c8ea..f1dafeba7d 100644 --- a/engines/fullpipe/inventory.cpp +++ b/engines/fullpipe/inventory.cpp @@ -211,11 +211,15 @@ int Inventory2::getItemFlags(int itemId) {  }  void Inventory2::rebuildItemRects() { +	debugC(2, kDebugInventory, "rebuildItemRects()"); +  	_scene = g_fp->accessScene(_sceneId);  	if (!_scene)  		return; +	_inventoryIcons.clear(); +  	_picture = _scene->getBigPicture(0, 0);  	_picture->setAlpha(50);  | 
