* Little bugfix
This commit is contained in:
jean.chalard
2008-11-28 15:06:50 +00:00
parent ec77debc62
commit eef151cac5

View File

@@ -401,7 +401,7 @@ void JGE::Run()
gHolds |= gKeyCodeList[i];
}
if (!(gKeyCodeList[i] & mCtrlPad.Buttons))
if (!(gKeyCodeList[i] & mOldButtons))
if (gKeyCodeList[i] & mOldButtons)
gHolds &= ~gKeyCodeList[i];
}
mOldButtons = mCtrlPad.Buttons;