mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:53:51 +00:00
Issue #378: Fix (record wasn't build fully)
This commit is contained in:
parent
160b52162b
commit
40d4dad15e
1 changed files with 4 additions and 1 deletions
|
@ -745,8 +745,11 @@ namespace MWWorld
|
||||||
std::ostringstream stream;
|
std::ostringstream stream;
|
||||||
stream << "$dynamic" << mNextDynamicRecord++;
|
stream << "$dynamic" << mNextDynamicRecord++;
|
||||||
|
|
||||||
|
ESM::Potion record2 (record);
|
||||||
|
record2.mId = stream.str();
|
||||||
|
|
||||||
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(), record2)).first->second;
|
||||||
|
|
||||||
mStore.all.insert (std::make_pair (stream.str(), ESM::REC_ALCH));
|
mStore.all.insert (std::make_pair (stream.str(), ESM::REC_ALCH));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue