fix dynamic potion id

pull/37/head
greye 12 years ago
parent 18cc435aa1
commit 807a56c9e4

@ -776,7 +776,7 @@ namespace MWWorld
stream << "$dynamic" << mNextDynamicRecord++;
ESM::Potion record2 (record);
record2.getId() = stream.str();
record2.setId(stream.str());
const ESM::Potion *created =
&mStore.potions.list.insert (std::make_pair (stream.str(), record2)).first->second;

Loading…
Cancel
Save