diff options
author | Tuck Therebelos <snares@users.sourceforge.net> | 2010-01-07 14:56:08 +0300 |
---|---|---|
committer | Tuck Therebelos <snares@users.sourceforge.net> | 2010-01-07 14:56:08 +0300 |
commit | 58081c648c6c376302ec1d34d9c7aaf500692ec3 (patch) | |
tree | 7cd1ce6cc76be92801f4df8c99535ffe5e7ed476 /plugins/tf2 | |
parent | b5b6ba260464a52d58d94d2fe3001504f3d54f5d (diff) |
Update licenses; add UT3, 2004, 1942 plugins; update some Source plugins
Diffstat (limited to 'plugins/tf2')
-rw-r--r-- | plugins/tf2/tf2.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/tf2/tf2.cpp b/plugins/tf2/tf2.cpp index c79fdfa51..db6072572 100644 --- a/plugins/tf2/tf2.cpp +++ b/plugins/tf2/tf2.cpp @@ -1,4 +1,5 @@ /* Copyright (C) 2009-2010, Snares <snares@users.sourceforge.net> + Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com> All rights reserved. @@ -215,14 +216,14 @@ static int trylock() { */ // Remember addresses for later - posptr = mod + 0x5022D0; - rotptr = mod + 0x502244; - stateptr = mod + 0x4E7BCC; + posptr = mod_engine + 0x555BB4; + rotptr = mod_engine + 0x3CDC30; + stateptr = mod + 0x4EABCC; hostptr = mod_engine + 0x3C91A4; // Gamecheck char sMagic[9]; - if (!peekProc(mod + 0x4F83E3, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0) + if (!peekProc(mod + 0x4FB3E3, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0) return false; // Check if we can get meaningful data from it |