diff --git a/projects/mtg/src/SimpleMenuItem.cpp b/projects/mtg/src/SimpleMenuItem.cpp index 5a62003bc..01c695ba9 100644 --- a/projects/mtg/src/SimpleMenuItem.cpp +++ b/projects/mtg/src/SimpleMenuItem.cpp @@ -12,7 +12,7 @@ SimpleMenuItem::SimpleMenuItem(int id): JGuiObject(id) } SimpleMenuItem::SimpleMenuItem(SimpleMenu* _parent, int id, int fontId, string text, float x, float y, bool hasFocus, bool autoTranslate) : - JGuiObject(id), parent(_parent), mFontId(fontId), mX(x), mY(y) + JGuiObject(id), parent(_parent), mX(x), mY(y), mFontId(fontId) { if (autoTranslate) mText = _(text);