diff options
Diffstat (limited to 'src/guiCreateWorld.cpp')
-rw-r--r-- | src/guiCreateWorld.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/guiCreateWorld.cpp b/src/guiCreateWorld.cpp index caa884bc0..f9afe9592 100644 --- a/src/guiCreateWorld.cpp +++ b/src/guiCreateWorld.cpp @@ -112,8 +112,6 @@ void GUICreateWorld::regenerateGui(v2u32 screensize) DesiredRect = rect; recalculateAbsolutePosition(false); - v2s32 size = rect.getSize(); - v2s32 topleft = v2s32(10+80, 10+70); /* @@ -137,6 +135,9 @@ void GUICreateWorld::regenerateGui(v2u32 screensize) evt.EventType = EET_KEY_INPUT_EVENT; evt.KeyInput.Key = KEY_END; evt.KeyInput.PressedDown = true; + evt.KeyInput.Char = 0; + evt.KeyInput.Control = 0; + evt.KeyInput.Shift = 0; e->OnEvent(evt); } { |