File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3532,7 +3532,6 @@ void TCommonSettings::GameHacks::clear()
35323532void TCommonSettings::GameHacks::execute ()
35333533{
35343534 const size_t cheatCount = flags.cheats .size ();
3535-
35363535 for (size_t i = 0 ; i < cheatCount; i++)
35373536 {
35383537 flags.cheats [i]->Run ();
@@ -3541,12 +3540,11 @@ void TCommonSettings::GameHacks::execute()
35413540
35423541void TCommonSettings::GameHacks::GameHacksFlags::reset ()
35433542{
3544- const size_t cheatCount = cheats.size ();
3545-
35463543 overclock = false ;
35473544 stylusjitter = false ;
3548-
3549- for (int i = (int )cheatCount - 1 ; i > 0 ; i--)
3545+
3546+ const size_t cheatCount = cheats.size ();
3547+ for (size_t i = 0 ; i < cheatCount; i++)
35503548 {
35513549 delete cheats[i];
35523550 }
You can’t perform that action at this time.
0 commit comments