Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
cc6ed038b9
commit
dcaf417aee
3 changed files with 3 additions and 3 deletions
|
@ -677,7 +677,7 @@ void CWaterHeightMap::setWaves(float intensity, float period, uint radius, bool
|
||||||
void CWaterHeightMap::serial(NLMISC::IStream &f)
|
void CWaterHeightMap::serial(NLMISC::IStream &f)
|
||||||
{
|
{
|
||||||
f.xmlPushBegin("WaterHeightMap");
|
f.xmlPushBegin("WaterHeightMap");
|
||||||
f.xmlSetAttrib ("NAME") ;
|
f.xmlSetAttrib ("NAME");
|
||||||
f.serial (_Name);
|
f.serial (_Name);
|
||||||
f.xmlPushEnd();
|
f.xmlPushEnd();
|
||||||
(void)f.serialVersion(0);
|
(void)f.serialVersion(0);
|
||||||
|
|
|
@ -90,7 +90,7 @@ public:
|
||||||
// the following routine shouldn't be needed it should be superceded by a better alternative
|
// the following routine shouldn't be needed it should be superceded by a better alternative
|
||||||
// in the event manager
|
// in the event manager
|
||||||
template <class TState>
|
template <class TState>
|
||||||
bool testCompatibility(CStateInstance *const stateInstance, const TState *const state) const;
|
bool testCompatibility(const CStateInstance *stateInstance, const TState *state) const
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// protected data ---------------------------------------------------
|
// protected data ---------------------------------------------------
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "continent.h"*/
|
#include "continent.h"*/
|
||||||
|
|
||||||
template <class TState>
|
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)
|
if (!stateInstance)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue