diff --git a/code/ryzom/server/src/ai_service/event_reaction.h b/code/ryzom/server/src/ai_service/event_reaction.h index 57dcf22d0..31689f613 100644 --- a/code/ryzom/server/src/ai_service/event_reaction.h +++ b/code/ryzom/server/src/ai_service/event_reaction.h @@ -90,7 +90,7 @@ public: // the following routine shouldn't be needed it should be superceded by a better alternative // in the event manager template - bool testCompatibility(const CStateInstance *stateInstance, const TState *state) const + bool testCompatibility(CStateInstance *const stateInstance, const TState *const state) const; protected: // protected data --------------------------------------------------- diff --git a/code/ryzom/server/src/ai_service/event_reaction_include.h b/code/ryzom/server/src/ai_service/event_reaction_include.h index 04fd2c16f..3c44b03dc 100644 --- a/code/ryzom/server/src/ai_service/event_reaction_include.h +++ b/code/ryzom/server/src/ai_service/event_reaction_include.h @@ -28,7 +28,7 @@ #include "continent.h"*/ template -bool CAIEventReaction::testCompatibility(const CStateInstance *stateInstance, const TState *state) const +bool CAIEventReaction::testCompatibility(CStateInstance *const stateInstance, const TState *const state) const { if (!stateInstance) return false;