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:
authorThorvald Natvig <slicer@users.sourceforge.net>2009-12-10 20:15:56 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2009-12-10 20:15:56 +0300
commit6325fa80725f761451de87b0ee6fbea9316dd62b (patch)
tree4e883c3c00c2f4bd40ce9d1d0c5aec40bbb72cf9 /plugins/bfheroes
parenta4ea89c1cf467fd5d1ab1cb96aee959416d4fa59 (diff)
Indent, changelog and submodule update
Diffstat (limited to 'plugins/bfheroes')
-rw-r--r--plugins/bfheroes/bfheroes.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/bfheroes/bfheroes.cpp b/plugins/bfheroes/bfheroes.cpp
index 16ff6ab42..78997e829 100644
--- a/plugins/bfheroes/bfheroes.cpp
+++ b/plugins/bfheroes/bfheroes.cpp
@@ -81,19 +81,19 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
avatar_pos[i]=avatar_front[i]=avatar_top[i]=0.0f;
char state;
-
+
bool ok;
ok = peekProc(posptr, avatar_pos, 12) &&
peekProc(faceptr, avatar_front, 12) &&
peekProc(topptr, avatar_top, 12) &&
- peekProc(stateptr, &state, 1);
+ peekProc(stateptr, &state, 1);
if (! ok)
return false;
-
- /*
- This state value just uses the first memory position. If the memory position is "0," then it means that you are not ingame.
+
+ /*
+ This state value just uses the first memory position. If the memory position is "0," then it means that you are not ingame.
*/
if (state == 0)
return true; // This results in all vectors beeing zero which tells Mumble to ignore them.
@@ -130,7 +130,7 @@ static int trylock() {
faceptr = peekProcPtr(cache + 0xc4);
topptr = peekProcPtr(cache + 0xc8);
stateptr = peekProcPtr(cache + 0xc0);
-
+
float apos[3], afront[3], atop[3], cpos[3], cfront[3], ctop[3];
std::string context;
std::wstring identity;