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

Comparing Daodan/MSVC/Daodan_Utility.c (file contents):
Revision 579 by gumby, Thu Jan 13 01:02:52 2011 UTC vs.
Revision 586 by gumby, Wed Feb 2 08:17:19 2011 UTC

# Line 144 | Line 144 | void DDrPasteHack()
144   {
145          COtTextArea* cons = *(COtTextArea**)0x00571B74;
146          char* clipboardText = 0;
147 <        if(GetAsyncKeyState(0x56) && GetAsyncKeyState(VK_CONTROL) )
147 >        if(ONgGameState->Input.Current.Actions1 & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 )
148          {
149                  if(cons && cons->text_entries && cons->num_text_entries)
150                  {

Diff Legend

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