--- Daodan/src/Patches/Utility.c 2014/04/07 10:33:27 994 +++ Daodan/src/Patches/Utility.c 2021/10/24 02:50:48 1163 @@ -101,16 +101,10 @@ void ONICALL DDrMake_Weapon_Message(char else { memcpy(output_ptr, default_msg, sizeof(default_msg)); } - -} -typedef struct -{ - uint16_t x; - uint16_t y; +} -} IMtPoint2D; -IMtPoint2D Point = {256, 250}; +IMtPoint Point = {256, 250}; extern void* TSrTest; extern void* TSrScores; unsigned int lastPasteTime; @@ -121,7 +115,7 @@ void DDrPasteHack() { COtTextArea* cons = *(COtTextArea**)0x00571B74; char* clipboardText = 0; - if(ONgGameState->Input.Current.Actions1 & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 ) + if(ONgGameState->Input.ActionsDown & Action_Console && GetKeyState(0x56) & 0x80 && GetKeyState(VK_CONTROL) & 0x80 ) { if(cons && cons->text_entries && cons->num_text_entries) {