diff --git a/Aquaria/ScriptInterface.cpp b/Aquaria/ScriptInterface.cpp index a47aadd..89ebde2 100644 --- a/Aquaria/ScriptInterface.cpp +++ b/Aquaria/ScriptInterface.cpp @@ -11008,8 +11008,6 @@ static const struct { {"EXPRESSION_LAUGH", 4}, {"EXPRESSION_SURPRISE", 5}, - luaConstantFromClass(OVERRIDE_NONE, RenderObject), - //actions luaConstant(ACTION_MENULEFT), luaConstant(ACTION_MENURIGHT), diff --git a/BBGE/RenderObject.h b/BBGE/RenderObject.h index 3d8d560..36e1f7a 100644 --- a/BBGE/RenderObject.h +++ b/BBGE/RenderObject.h @@ -205,7 +205,7 @@ public: void setOverrideCullRadius(float ovr); void setRenderPass(int pass) { renderPass = pass; } int getRenderPass() const { return renderPass; } - enum { RENDER_ALL=314, OVERRIDE_NONE=315 }; + enum { RENDER_ALL=999 }; // Defined in RenderObject_inline.h inline Vector getFollowCameraPosition() const;