ULTIMA4: Turn off debug logging for vendor scripts

This commit is contained in:
Paul Gilbert 2020-03-31 22:33:18 -07:00 committed by Paul Gilbert
parent 129b508903
commit 7d872808f8
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- $Id: vendorScript.xml 2852 2011-03-27 04:50:22Z darren_janeczek $ -->
<scripts xml:space="preserve" debug="true" id_prop="choice">
<scripts xml:space="preserve" debug="false" id_prop="choice">
<!--
/**
* Weapons

View File

@ -181,7 +181,7 @@ bool Script::load(const Common::String &filename, const Common::String &baseId,
error("malformed %s", filename.c_str());
// Check whether script is set to debug
_debug = root->hasProperty("debug");
_debug = root->getPropertyBool("debug");
/**
* Get a new global item name or id name