From 9d463a89144c1623fba7125c023623eac5229dff Mon Sep 17 00:00:00 2001 From: mogemimi Date: Wed, 5 Mar 2014 23:09:41 +0900 Subject: [PATCH] Fix if statement with empty body. --- modules/multiscript/register_types.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/multiscript/register_types.cpp b/modules/multiscript/register_types.cpp index 4b256567239..2f2fb53c400 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); + } }