Ignore:
Timestamp:
Apr 6, 2014, 7:06:02 PM (11 years ago)
Author:
alloc
Message:

Daodan:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Daodan_Cheater.c

    r992 r993  
    88
    99#include "Daodan.h"
     10#include "Daodan_Config.h"
    1011#include "Daodan_Cheater.h"
    1112
     
    9798float cheat_oldheight2 = 135;
    9899bool inc_fallingframes = true;
    99 extern bool patch_bsl;
     100
    100101uint8_t ONICALL DDrCheater(uint32_t cheat)
    101102{
     
    252253                case cheat_elderrune:
    253254                {
    254                         if(patch_bsl) {
     255                        ConfigOption_t* co = DDrConfig_GetOptOfType("patch.bsl", C_BOOL);
     256                        if (co->value.intBoolVal)
     257                        {
    255258                                int* Regeneration = &ONgGameState->PlayerCharacter->RegenHax;
    256259                                if(*Regeneration)
Note: See TracChangeset for help on using the changeset viewer.