(svn r12565) -Cleanup: variable scope in misc\*.cpp

This commit is contained in:
smatz
2008-04-04 17:27:38 +00:00
parent 9532cde5ff
commit 2185591156
3 changed files with 38 additions and 43 deletions

View File

@@ -481,9 +481,8 @@ static void Load_CHTS()
{
Cheat* cht = (Cheat*)&_cheats;
uint count = SlGetFieldLength() / 2;
uint i;
for (i = 0; i < count; i++) {
for (uint i = 0; i < count; i++) {
cht[i].been_used = (SlReadByte() != 0);
cht[i].value = (SlReadByte() != 0);
}