ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Patches/Cheater.c
(Generate patch)

Comparing Daodan/src/Patches/Cheater.c (file contents):
Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC vs.
Revision 995 by alloc, Wed Apr 9 00:10:18 2014 UTC

# Line 252 | Line 252 | uint8_t ONICALL DDrCheater(uint32_t chea
252                  }
253                  case cheat_elderrune:
254                  {
255 <                        ConfigOption_t* co = DDrConfig_GetOptOfType("patch.bsl", C_BOOL);
256 <                        if (co->value.intBoolVal)
255 >                        if (DDrConfig_GetOptOfType("patches.d_regen", C_BOOL)->value.intBoolVal)
256                          {
257                                  int* Regeneration = &ONgGameState->PlayerCharacter->RegenHax;
258                                  if(*Regeneration)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)