diff --git a/Runtime/GuiSys/CGuiWidgetDrawParms.cpp b/Runtime/GuiSys/CGuiWidgetDrawParms.cpp index 58df7407a..be3bc6e81 100644 --- a/Runtime/GuiSys/CGuiWidgetDrawParms.cpp +++ b/Runtime/GuiSys/CGuiWidgetDrawParms.cpp @@ -1,5 +1,5 @@ #include "CGuiWidgetDrawParms.hpp" namespace urde { -CGuiWidgetDrawParms CGuiWidgetDrawParms::Default = {}; +const CGuiWidgetDrawParms CGuiWidgetDrawParms::Default = {}; } diff --git a/Runtime/GuiSys/CGuiWidgetDrawParms.hpp b/Runtime/GuiSys/CGuiWidgetDrawParms.hpp index 4ee7b0be8..ebf3b184d 100644 --- a/Runtime/GuiSys/CGuiWidgetDrawParms.hpp +++ b/Runtime/GuiSys/CGuiWidgetDrawParms.hpp @@ -11,7 +11,7 @@ struct CGuiWidgetDrawParms { CGuiWidgetDrawParms() = default; CGuiWidgetDrawParms(float alphaMod, const zeus::CVector3f& cameraOff) : x0_alphaMod(alphaMod), x4_cameraOffset(cameraOff) {} - static CGuiWidgetDrawParms Default; + static const CGuiWidgetDrawParms Default; }; } // namespace urde