diff --git gui/components/gui_button.h gui/components/gui_button.h index bc909f5fa..7cf813d6c 100644 --- gui/components/gui_button.h +++ gui/components/gui_button.h @@ -79,10 +79,8 @@ private: * The displayed text of the button * direct access provided to avoid translations */ - union { - const char * text; - koord3d targetpos; - }; + const char * text; + koord3d targetpos; const char *translated_text; // any click will go to this world