aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CGUIContextMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/CGUIContextMenu.cpp')
-rw-r--r--source/Irrlicht/CGUIContextMenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Irrlicht/CGUIContextMenu.cpp b/source/Irrlicht/CGUIContextMenu.cpp
index c28d30a..3a6484b 100644
--- a/source/Irrlicht/CGUIContextMenu.cpp
+++ b/source/Irrlicht/CGUIContextMenu.cpp
@@ -88,6 +88,7 @@ u32 CGUIContextMenu::insertItem(u32 idx, const wchar_t* text, s32 commandId, boo
s.IsSeparator = (text == 0);
s.SubMenu = 0;
s.CommandId = commandId;
+ s.PosY = 0;
if (hasSubMenu)
{