diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-19 15:21:52 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-19 15:21:52 +0100 |
commit | 8d9e539f3348f17c3af9f2dee05b915b909b7b46 (patch) | |
tree | 6aec2fe01bf4a801cb7ed57d35d66ffaff9c1cb4 /source | |
parent | Install: added the high_detail_debug and medium_detail_debug scripts (diff) | |
download | cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar.gz cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar.bz2 cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar.lz cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar.xz cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.tar.zst cuberite-8d9e539f3348f17c3af9f2dee05b915b909b7b46.zip |
Diffstat (limited to '')
-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 );
+ }
}
|