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

Comparing Daodan/src/Patches/Utility.c (file contents):
Revision 994 by alloc, Mon Apr 7 10:33:27 2014 UTC vs.
Revision 1161 by rossy, Sun Oct 24 02:50:22 2021 UTC

# Line 121 | Line 121 | void DDrPasteHack()
121   {
122          COtTextArea* cons = *(COtTextArea**)0x00571B74;
123          char* clipboardText = 0;
124 <        if(ONgGameState->Input.Current.Actions1 & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 )
124 >        if(ONgGameState->Input.ActionsDown & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 )
125          {
126                  if(cons && cons->text_entries && cons->num_text_entries)
127                  {

Diff Legend

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