diff options
author | reduz <reduzio@gmail.com> | 2014-03-12 08:58:14 -0700 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2014-03-12 08:58:14 -0700 |
commit | 81757d2e977d959e6b0bc26f9fa990417ca91de9 (patch) | |
tree | 674d70883ce2a31ce0f0efef903dbca18cfa8c9a /modules | |
parent | 188a892195daec6069b862ca4094de8cac3a2254 (diff) | |
parent | 9d463a89144c1623fba7125c023623eac5229dff (diff) |
Merge pull request #168 from mogemimi/fix/empty-body
Fix if statement with empty body.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/multiscript/register_types.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/multiscript/register_types.cpp b/modules/multiscript/register_types.cpp index 4b25656723..2f2fb53c40 100644 --- a/modules/multiscript/register_types.cpp +++ b/modules/multiscript/register_types.cpp @@ -27,6 +27,7 @@ void register_multiscript_types() { } void unregister_multiscript_types() { - if (script_multi_script); + if (script_multi_script) { memdelete(script_multi_script); + } } |