Fix skin crash

This commit is contained in:
Marianne Gagnon 2014-01-22 20:15:35 -05:00
parent 069f15937a
commit 70fed45ec1

View File

@ -2144,6 +2144,8 @@ core::recti Skin::draw3DWindowBackground(IGUIElement *element,
const core::recti *clip,
core::recti* checkClientArea)
{
if (ModalDialog::getCurrent() == NULL) return;
drawBGFadeColor();
// draw frame