equal
deleted
inserted
replaced
480 |
480 |
481 static void Load_CHTS() |
481 static void Load_CHTS() |
482 { |
482 { |
483 Cheat* cht = (Cheat*)&_cheats; |
483 Cheat* cht = (Cheat*)&_cheats; |
484 uint count = SlGetFieldLength() / 2; |
484 uint count = SlGetFieldLength() / 2; |
485 uint i; |
485 |
486 |
486 for (uint i = 0; i < count; i++) { |
487 for (i = 0; i < count; i++) { |
|
488 cht[i].been_used = (SlReadByte() != 0); |
487 cht[i].been_used = (SlReadByte() != 0); |
489 cht[i].value = (SlReadByte() != 0); |
488 cht[i].value = (SlReadByte() != 0); |
490 } |
489 } |
491 } |
490 } |
492 |
491 |