diff --git a/apps/openmw/mwlua/types/book.cpp b/apps/openmw/mwlua/types/book.cpp index 1323e09a7f..4fe2f9d071 100644 --- a/apps/openmw/mwlua/types/book.cpp +++ b/apps/openmw/mwlua/types/book.cpp @@ -60,7 +60,7 @@ namespace if (rec["value"] != sol::nil) book.mData.mValue = rec["value"]; if (rec["isScroll"] != sol::nil) - book.mData.mIsScroll = rec["isScroll"]; + book.mData.mIsScroll = rec["isScroll"] ? 1 : 0; if (rec["skill"] != sol::nil) {