Changed: Minor changes

--HG--
branch : develop
hg/compatibility-develop
kervala 6 years ago
parent cc6ed038b9
commit dcaf417aee

@ -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 <class TState>
bool testCompatibility(CStateInstance *const stateInstance, const TState *const state) const;
bool testCompatibility(const CStateInstance *stateInstance, const TState *state) const
protected:
// protected data ---------------------------------------------------

@ -28,7 +28,7 @@
#include "continent.h"*/
template <class TState>
bool CAIEventReaction::testCompatibility(CStateInstance *const stateInstance, const TState *const state) const
bool CAIEventReaction::testCompatibility(const CStateInstance *stateInstance, const TState *state) const
{
if (!stateInstance)
return false;

Loading…
Cancel
Save