# | Line 138 | Line 138 | extern void* TSrTest; | |
---|---|---|
138 | extern void* TSrScores; | |
139 | unsigned int lastPasteTime; | |
140 | ||
141 | + | //TODO: Fix what happens when you hold down paste |
142 | + | //Check if console is open |
143 | void DDrPasteHack() | |
144 | { | |
145 | COtTextArea* cons = *(COtTextArea**)0x00571B74; | |
# | Line 160 | Line 162 | void DDrPasteHack() | |
162 | strcpy_s( cons->text_entries[0].text + charsUsed, 502 - charsUsed - 1, clipboardText); | |
163 | lastPasteTime = ONgGameState->GameTime; | |
164 | } | |
165 | + | CloseClipboard(); |
166 | } | |
167 | + | |
168 | } | |
169 | else | |
170 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |