diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-07-30 15:44:00 +0400 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2010-07-30 15:44:00 +0400 |
commit | ae54c25eee7efe869c477dfd89860990bfc595ef (patch) | |
tree | c3d047a66f719ab2613141783c8376995458ff50 /plugins/bfbc2 | |
parent | 2debbf04a52108db465c97bcb195412fb4b3325e (diff) |
Indent, changelog, submodule and language update
Diffstat (limited to 'plugins/bfbc2')
-rw-r--r-- | plugins/bfbc2/bfbc2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/bfbc2/bfbc2.cpp b/plugins/bfbc2/bfbc2.cpp index 793813ed4..16e510599 100644 --- a/plugins/bfbc2/bfbc2.cpp +++ b/plugins/bfbc2/bfbc2.cpp @@ -40,7 +40,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa char ccontext[128]; //char state; bool ok; - + /* ok = peekProc((BYTE *) 0x0, &state, 1); // Magical state value if (! ok) @@ -51,12 +51,12 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa ok = peekProc((BYTE *) 0x01546980, avatar_pos, 12) && peekProc((BYTE *) 0x01546970, avatar_front, 12) && peekProc((BYTE *) 0x01546960, avatar_top, 12) && - peekProc((BYTE *) 0x014DB9A8, ccontext, 128); + peekProc((BYTE *) 0x014DB9A8, ccontext, 128); } else { ok = peekProc((BYTE *) 0x01549B70, avatar_pos, 12) && peekProc((BYTE *) 0x01549B60, avatar_front, 12) && peekProc((BYTE *) 0x01549B50, avatar_top, 12)&& - peekProc((BYTE *) 0x014E2428, ccontext, 128); + peekProc((BYTE *) 0x014E2428, ccontext, 128); } if (! ok) @@ -77,7 +77,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa if (state == 0) return true; // This results in all vectors beeing zero which tells Mumble to ignore them. */ - + for (int i=0;i<3;i++) { camera_pos[i] = avatar_pos[i]; camera_front[i] = avatar_front[i]; |