From 160ec7ea910e13129bb69cd7d06c898989d38746 Mon Sep 17 00:00:00 2001 From: Fabien_HENON Date: Thu, 26 Jul 2012 19:23:09 +0200 Subject: [PATCH] Changed: #1469 Removing blanks when getting sound name and animation name in mission actions parsing --HG-- branch : gsoc2012-fabien --- .../entities_game_service/mission_manager/mission_action.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/ryzom/server/src/entities_game_service/mission_manager/mission_action.cpp b/code/ryzom/server/src/entities_game_service/mission_manager/mission_action.cpp index 227407dbb..f505ec22f 100644 --- a/code/ryzom/server/src/entities_game_service/mission_manager/mission_action.cpp +++ b/code/ryzom/server/src/entities_game_service/mission_manager/mission_action.cpp @@ -5417,6 +5417,7 @@ class CMissionActionCameraAnimation : public IMissionAction } _AnimationName = script[1]; + CMissionParser::removeBlanks(_AnimationName); return ret; } @@ -5458,6 +5459,7 @@ class CMissionActionSoundTrigger : public IMissionAction } std::string SoundName = script[1]; + CMissionParser::removeBlanks(SoundName); if (script.size() >= 3) _SoundPosition = script[2]; else