mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:53:52 +00:00
fix dynamic potion id
This commit is contained in:
parent
18cc435aa1
commit
807a56c9e4
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ namespace MWWorld
|
||||||
stream << "$dynamic" << mNextDynamicRecord++;
|
stream << "$dynamic" << mNextDynamicRecord++;
|
||||||
|
|
||||||
ESM::Potion record2 (record);
|
ESM::Potion record2 (record);
|
||||||
record2.getId() = stream.str();
|
record2.setId(stream.str());
|
||||||
|
|
||||||
const ESM::Potion *created =
|
const ESM::Potion *created =
|
||||||
&mStore.potions.list.insert (std::make_pair (stream.str(), record2)).first->second;
|
&mStore.potions.list.insert (std::make_pair (stream.str(), record2)).first->second;
|
||||||
|
|
Loading…
Reference in a new issue