diff options
Diffstat (limited to 'source/cWindow.cpp')
-rw-r--r-- | source/cWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/cWindow.cpp b/source/cWindow.cpp index 62b319ca6..8c5d78495 100644 --- a/source/cWindow.cpp +++ b/source/cWindow.cpp @@ -199,7 +199,10 @@ void cWindow::Clicked( cPacket_WindowClick* a_ClickPacket, cPlayer & a_Player ) Window->Clicked( a_ClickPacket, a_Player );
}
}
- if( m_DraggingItem ) LOGD("Dragging: %i", m_DraggingItem->m_ItemCount );
+ if (m_DraggingItem != NULL)
+ {
+ LOGD("Dragging: %i", m_DraggingItem->m_ItemCount );
+ }
}
|