diff options
author | Johannes Schickel | 2009-03-17 22:56:20 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-03-17 22:56:20 +0000 |
commit | 4edee56b3f44bf43fc0fb568bb68bd44ce422da4 (patch) | |
tree | 3a7ba474ba4886c6bf36f2472a04237cfb5d92d6 | |
parent | cdc05e2ea59ee0e17a8b26e207479ee42f043c90 (diff) | |
download | scummvm-rg350-4edee56b3f44bf43fc0fb568bb68bd44ce422da4.tar.gz scummvm-rg350-4edee56b3f44bf43fc0fb568bb68bd44ce422da4.tar.bz2 scummvm-rg350-4edee56b3f44bf43fc0fb568bb68bd44ce422da4.zip |
Fix warning.
svn-id: r39498
-rw-r--r-- | engines/sci/gfx/operations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 4faee292e7..df891811cd 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1875,7 +1875,7 @@ int gfxop_new_pic(gfx_state_t *state, int nr, int flags, int default_palette) { } else { // FIXME: the initialization of the GFX resource manager should // be pushed up, and it shouldn't occur here - GfxResManager *_gfx = new GfxResManager(state->resstate); + _gfx = new GfxResManager(state->resstate); state->pic = _gfx->getPic(nr, GFX_MASK_VISUAL, flags, default_palette, false); delete _gfx; } |