diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-30 15:29:59 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-30 15:29:59 -0600 |
commit | 5925b4262ca5d9376d558429eecd6796de5dc2fe (patch) | |
tree | b9e56528ebc0dd2ffdc8e6df7ac029d621388330 /src | |
parent | f885dda3c5b289eff21b3c2a889c69f6d1af7d2c (diff) | |
download | mana-5925b4262ca5d9376d558429eecd6796de5dc2fe.tar.gz mana-5925b4262ca5d9376d558429eecd6796de5dc2fe.tar.bz2 mana-5925b4262ca5d9376d558429eecd6796de5dc2fe.tar.xz mana-5925b4262ca5d9376d558429eecd6796de5dc2fe.zip |
Fix a segfault in the equipment window
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index 0be33ca6..f92940ce 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -104,7 +104,7 @@ EquipmentWindow::EquipmentWindow(): ResourceManager *resman = ResourceManager::getInstance(); mBackground = resman->getImage("graphics/gui/equip_bg.png"); - mBackground->setAlpha(0.3); + if (mBackground) mBackground->setAlpha(0.3); #ifdef EATHENA_SUPPORT mEquipment = player_node->mEquipment.get(); |