diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-10 20:15:56 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-12-10 20:15:56 +0300 |
commit | 6325fa80725f761451de87b0ee6fbea9316dd62b (patch) | |
tree | 4e883c3c00c2f4bd40ce9d1d0c5aec40bbb72cf9 /plugins/bf2 | |
parent | a4ea89c1cf467fd5d1ab1cb96aee959416d4fa59 (diff) |
Indent, changelog and submodule update
Diffstat (limited to 'plugins/bf2')
-rw-r--r-- | plugins/bf2/bf2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/bf2/bf2.cpp b/plugins/bf2/bf2.cpp index a542e64d1..02bdedb21 100644 --- a/plugins/bf2/bf2.cpp +++ b/plugins/bf2/bf2.cpp @@ -97,7 +97,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa ok = peekProc(posptr, avatar_pos, 12) && peekProc(faceptr, avatar_front, 12) && peekProc(topptr, avatar_top, 12) && - peekProc((BYTE *) 0x009A64C8, ccontext, 128); + peekProc((BYTE *) 0x009A64C8, ccontext, 128); if (! ok) return false; @@ -106,8 +106,8 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa Get context string; in this plugin this will be an ip:port (char 256 bytes) string */ - ccontext[127] = 0; - context = std::string(ccontext); + ccontext[127] = 0; + context = std::string(ccontext); if (state == 0) return true; // This results in all vectors beeing zero which tells Mumble to ignore them. @@ -132,7 +132,7 @@ static int trylock() { BYTE *mod=getModuleAddr(pid, L"BF2Audio.dll"); if (!mod) return false; - + h=OpenProcess(PROCESS_VM_READ, false, pid); if (!h) return false; |