1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 09:23:53 +00:00
This commit is contained in:
Marc Zinnschlag 2011-07-23 11:56:01 +02:00
parent 7bc1adde9f
commit 4367b93e64

View file

@ -880,7 +880,7 @@ namespace MWWorld
/// the STL-container usage of the ESMStore before the rewrite. /// the STL-container usage of the ESMStore before the rewrite.
std::ostringstream stream; std::ostringstream stream;
stream << "$dyamic" << mNextDynamicRecord++; stream << "$dynamic" << mNextDynamicRecord++;
const ESM::Potion *created = const ESM::Potion *created =
&mStore.potions.list.insert (std::make_pair (stream.str(), record)).first->second; &mStore.potions.list.insert (std::make_pair (stream.str(), record)).first->second;
@ -894,7 +894,7 @@ namespace MWWorld
{ {
/// \todo See function above. /// \todo See function above.
std::ostringstream stream; std::ostringstream stream;
stream << "$dyamic" << mNextDynamicRecord++; stream << "$dynamic" << mNextDynamicRecord++;
const ESM::Class *created = const ESM::Class *created =
&mStore.classes.list.insert (std::make_pair (stream.str(), record)).first->second; &mStore.classes.list.insert (std::make_pair (stream.str(), record)).first->second;