mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-13 12:40:04 +00:00
fix dynamic potion id
This commit is contained in:
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…
x
Reference in New Issue
Block a user