Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuck Therebelos <snares@users.sourceforge.net>2010-05-06 22:32:54 +0400
committerTuck Therebelos <snares@users.sourceforge.net>2010-05-06 22:33:20 +0400
commit5fe803e46ea270e4f90f7130c8013a193c06db91 (patch)
treecf0208220e4b724c43e53a331f7f62465a256252 /plugins/gmod
parentec31de1b25acddc58c696bca767e2315a17986b6 (diff)
MW2, gmod updates; BFBC2 address fix
Diffstat (limited to 'plugins/gmod')
-rw-r--r--plugins/gmod/gmod.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gmod/gmod.cpp b/plugins/gmod/gmod.cpp
index 386c8c4d3..c5521c1e5 100644
--- a/plugins/gmod/gmod.cpp
+++ b/plugins/gmod/gmod.cpp
@@ -134,14 +134,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
*/
// Remember addresses for later
- posptr = pModule + 0x48C988;
- rotptr = pModule + 0x48C908;
- stateptr = pModule + 0x472B34;
+ posptr = pModule + 0x4DE828;
+ rotptr = pModule + 0x4DE6CC;
+ stateptr = pModule + 0x477B34;
hostptr = mod_engine + 0x3C2A84;
// Gamecheck
char sMagic[9];
- if (!peekProc(pModule + 0x4A0B50, sMagic, 9) || strncmp("garrysmod", sMagic, 9)!=0)
+ if (!peekProc(pModule + 0x36CA88, sMagic, 9) || strncmp("garrysmod", sMagic, 9)!=0)
return false;
// Check if we can get meaningful data from it