Changed: #1469 Removing blanks when getting sound name and animation name in mission actions parsing

--HG--
branch : gsoc2012-fabien
hg/feature/gsoc2012-fabien
Fabien_HENON 13 years ago
parent 69545610b5
commit 160ec7ea91

@ -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

Loading…
Cancel
Save