Skip to content

Commit

Permalink
Bug that caused Wii port not to process "velocity" correctly bug fix …
Browse files Browse the repository at this point in the history
…from White Dragon. (#74)
  • Loading branch information
msmalik681 authored and DCurrent committed Aug 14, 2018
1 parent 3bf70c1 commit 26afcd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/source/scriptlib/ScriptVariant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

1 comment on commit 26afcd6

@DCurrent
Copy link
Owner

@DCurrent DCurrent commented on 26afcd6 Aug 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #72 (velocity bug).

Please sign in to comment.