diff --git a/ChangeLog.md b/ChangeLog.md index 58c91edc9..66c7756aa 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -163,6 +163,7 @@ Nazara Engine: - Added possibility to change the RigidBody2D velocity function called by the physics engine - Fixed MouseButtonEvent and MouseMoveEvent mouse absolute position being unsigned (now signed) - Fixed Window::SetCursor changing cursor even if window was in foreground on Windows +- Fixed SystemCursor_Move not showing up on Windows Nazara Development Kit: - Added ImageWidget (#139) diff --git a/src/Nazara/Platform/Win32/CursorImpl.cpp b/src/Nazara/Platform/Win32/CursorImpl.cpp index 399320c59..48d960f92 100644 --- a/src/Nazara/Platform/Win32/CursorImpl.cpp +++ b/src/Nazara/Platform/Win32/CursorImpl.cpp @@ -48,7 +48,7 @@ namespace Nz bool CursorImpl::Create(SystemCursor cursor) { - if (cursor != SystemCursor_Move) + if (cursor != SystemCursor_None) m_cursor = static_cast(LoadImage(nullptr, s_systemCursorIds[cursor], IMAGE_CURSOR, 0, 0, LR_SHARED)); else m_cursor = nullptr;