mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 20:23:54 +00:00
Merge branch 'scroll_fix' into 'master'
Fix recordDraft isScroll for types.book in lua See merge request OpenMW/openmw!3456
This commit is contained in:
commit
937f948b8a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ namespace
|
||||||
if (rec["value"] != sol::nil)
|
if (rec["value"] != sol::nil)
|
||||||
book.mData.mValue = rec["value"];
|
book.mData.mValue = rec["value"];
|
||||||
if (rec["isScroll"] != sol::nil)
|
if (rec["isScroll"] != sol::nil)
|
||||||
book.mData.mIsScroll = rec["isScroll"];
|
book.mData.mIsScroll = rec["isScroll"] ? 1 : 0;
|
||||||
|
|
||||||
if (rec["skill"] != sol::nil)
|
if (rec["skill"] != sol::nil)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue