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:
authorDavide Beatrici <davidebeatrici@gmail.com>2016-10-31 16:24:25 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2016-10-31 16:24:25 +0300
commit921ee19e3abd24482921d85b38c0c4b3d0cbcffe (patch)
treec26e7b7720b7c16d7b0e7bcd14394da9f898841b /plugins/breach
parentca2fd07b90746a17dba13963f7bdd54812c5d016 (diff)
plugins: use the short form of peekProc
The short form of peekProc automatically uses the correct size for the target.
Diffstat (limited to 'plugins/breach')
-rw-r--r--plugins/breach/breach.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/breach/breach.cpp b/plugins/breach/breach.cpp
index 5386579f8..805b37778 100644
--- a/plugins/breach/breach.cpp
+++ b/plugins/breach/breach.cpp
@@ -54,9 +54,9 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
return true; // This results in all vectors beeing zero which tells Mumble to ignore them
// coordinate systems is already left handed so no change needed
- ok = peekProc(posptr, avatar_pos, 12) &&
- peekProc(frontptr, avatar_front, 12) &&
- peekProc(topptr, avatar_top, 12);
+ ok = peekProc(posptr, avatar_pos) &&
+ peekProc(frontptr, avatar_front) &&
+ peekProc(topptr, avatar_top);
if (! ok)
return false;