From 26afcd6e5e2ee8bb542571835d3a10fe2e211ca5 Mon Sep 17 00:00:00 2001 From: Malik <31506138+msmalik681@users.noreply.github.com> Date: Tue, 14 Aug 2018 14:08:29 +0100 Subject: [PATCH] Bug that caused Wii port not to process "velocity" correctly bug fix from White Dragon. (#74) --- engine/source/scriptlib/ScriptVariant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/source/scriptlib/ScriptVariant.c b/engine/source/scriptlib/ScriptVariant.c index a7b70aac5..efbbf70c4 100644 --- a/engine/source/scriptlib/ScriptVariant.c +++ b/engine/source/scriptlib/ScriptVariant.c @@ -926,6 +926,7 @@ void ScriptVariant_Neg( ScriptVariant *svar) { case VT_DECIMAL: svar->dblVal = -(svar->dblVal); + break; case VT_INTEGER: svar->lVal = -(svar->lVal); default: