diff options
author | davidebeatrici <davidebeatrici@gmail.com> | 2017-11-13 22:45:22 +0300 |
---|---|---|
committer | davidebeatrici <davidebeatrici@gmail.com> | 2017-11-19 23:48:55 +0300 |
commit | 2a51c7bff664929fb181a9c55f84d326cbe28bfb (patch) | |
tree | 96264a12314283e9fb6299318191449b192a7f23 /plugins/bf1942 | |
parent | f397c40982860a9105b9bcffbc4e78716f359776 (diff) |
Accomplish changes in all the plugins
Diffstat (limited to 'plugins/bf1942')
-rw-r--r-- | plugins/bf1942/bf1942.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/bf1942/bf1942.cpp b/plugins/bf1942/bf1942.cpp index db43e033e..35f99e363 100644 --- a/plugins/bf1942/bf1942.cpp +++ b/plugins/bf1942/bf1942.cpp @@ -3,9 +3,9 @@ // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. -#include "../mumble_plugin_win32_32bit.h" +#include "../mumble_plugin_win32.h" -procptr32_t faceptr, topptr; +procptr_t faceptr, topptr; //BYTE *stateptr; //BYTE *contextptr; @@ -56,8 +56,8 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi if (! initialize(pids, L"BF1942.exe")) return false; - procptr32_t ptr1 = peekProc<procptr32_t>(0x009A9468); - procptr32_t ptr2 = peekProc<procptr32_t>(ptr1 + 0x98); + procptr_t ptr1 = peekProcPtr(0x009A9468); + procptr_t ptr2 = peekProcPtr(ptr1 + 0x98); faceptr = ptr2 + 0x5C; topptr = ptr2 + 0x4C; |