Changeset 987 for Daodan/src/patches
- Timestamp:
- Mar 19, 2014, 1:44:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/patches/Patches.c
r986 r987 179 179 } 180 180 181 _ONrGameState_HandleUtilityInput Oni_ONrGameState_HandleUtilityInput = (_ONrGameState_HandleUtilityInput)0; 182 void 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 } 181 190 182 191 … … 497 506 { 498 507 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); 499 509 } 500 510
Note:
See TracChangeset
for help on using the changeset viewer.