Changeset 987 for Daodan/src/patches


Ignore:
Timestamp:
Mar 19, 2014, 1:44:30 PM (11 years ago)
Author:
alloc
Message:

Daodan: Made symbols const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/patches/Patches.c

    r986 r987  
    179179}
    180180
     181_ONrGameState_HandleUtilityInput Oni_ONrGameState_HandleUtilityInput = (_ONrGameState_HandleUtilityInput)0;
     182void ONICALL DD_ONrGameState_HandleUtilityInput(const void* inInput)
     183{
     184        Oni_ONrGameState_HandleUtilityInput(inInput);
     185       
     186        if (ONrDebugKey_WentDown(7)) {
     187                OBJgTriggerVolume_Visible = !OBJgTriggerVolume_Visible;
     188        }
     189}
    181190
    182191
     
    497506{
    498507        Oni_ONrMechanics_Register = DDrPatch_MakeDetour((void*)ONrMechanics_Register, (void*)DD_ONrMechanics_Register);
     508        Oni_ONrGameState_HandleUtilityInput = DDrPatch_MakeDetour((void*)ONrGameState_HandleUtilityInput, (void*)DD_ONrGameState_HandleUtilityInput);
    499509}
    500510
Note: See TracChangeset for help on using the changeset viewer.