Fixed: Compilation (reverted back some changes)
--HG-- branch : develop
This commit is contained in:
parent
15355e3815
commit
c7ded068d9
2 changed files with 2 additions and 2 deletions
|
@ -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(const CStateInstance *stateInstance, const TState *state) const
|
||||
bool testCompatibility(CStateInstance *const stateInstance, const TState *const state) const;
|
||||
|
||||
protected:
|
||||
// protected data ---------------------------------------------------
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "continent.h"*/
|
||||
|
||||
template <class TState>
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue