From dcaf417aeea1d778444671eedb635f6d927ed69f Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 9 Aug 2018 14:34:28 +0200 Subject: [PATCH] Changed: Minor changes --HG-- branch : develop --- code/nel/src/3d/water_height_map.cpp | 2 +- code/ryzom/server/src/ai_service/event_reaction.h | 2 +- code/ryzom/server/src/ai_service/event_reaction_include.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/nel/src/3d/water_height_map.cpp b/code/nel/src/3d/water_height_map.cpp index 5f67ffce3..6fe88a8bc 100644 --- a/code/nel/src/3d/water_height_map.cpp +++ b/code/nel/src/3d/water_height_map.cpp @@ -677,7 +677,7 @@ void CWaterHeightMap::setWaves(float intensity, float period, uint radius, bool void CWaterHeightMap::serial(NLMISC::IStream &f) { f.xmlPushBegin("WaterHeightMap"); - f.xmlSetAttrib ("NAME") ; + f.xmlSetAttrib ("NAME"); f.serial (_Name); f.xmlPushEnd(); (void)f.serialVersion(0); diff --git a/code/ryzom/server/src/ai_service/event_reaction.h b/code/ryzom/server/src/ai_service/event_reaction.h index 1f92d3047..57dcf22d0 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(CStateInstance *const stateInstance, const TState *const state) const; + bool testCompatibility(const CStateInstance *stateInstance, const TState *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 3c44b03dc..04fd2c16f 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(CStateInstance *const stateInstance, const TState *const state) const +bool CAIEventReaction::testCompatibility(const CStateInstance *stateInstance, const TState *state) const { if (!stateInstance) return false;