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/borderlands2 | |
parent | f397c40982860a9105b9bcffbc4e78716f359776 (diff) |
Accomplish changes in all the plugins
Diffstat (limited to 'plugins/borderlands2')
-rw-r--r-- | plugins/borderlands2/borderlands2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/borderlands2/borderlands2.cpp b/plugins/borderlands2/borderlands2.cpp index ab4c3400d..01eb336d5 100644 --- a/plugins/borderlands2/borderlands2.cpp +++ b/plugins/borderlands2/borderlands2.cpp @@ -35,12 +35,12 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "../mumble_plugin_win32_32bit.h" +#include "../mumble_plugin_win32.h" #include <algorithm> -procptr32_t vects_ptr; -procptr32_t state_ptr; -procptr32_t character_name_ptr_loc; +procptr_t vects_ptr; +procptr_t state_ptr; +procptr_t character_name_ptr_loc; static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, float *camera_pos, float *camera_front, float *camera_top, std::string &, std::wstring &identity) { @@ -80,9 +80,9 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa // Extract the character name - procptr32_t ptr1 = peekProc<procptr32_t>(character_name_ptr_loc); - procptr32_t ptr2 = peekProc<procptr32_t>(ptr1 + 0xC); - procptr32_t character_name_ptr = ptr2 + 0x80; + procptr_t ptr1 = peekProcPtr(character_name_ptr_loc); + procptr_t ptr2 = peekProcPtr(ptr1 + 0xC); + procptr_t character_name_ptr = ptr2 + 0x80; char character_name[16]; // The game limits us to 15 char names ok = peekProc(character_name_ptr, character_name); |