From 9d463a89144c1623fba7125c023623eac5229dff Mon Sep 17 00:00:00 2001 From: mogemimi Date: Wed, 5 Mar 2014 23:09:41 +0900 Subject: Fix if statement with empty body. --- modules/multiscript/register_types.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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); + } } -- cgit v1.2.3