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-01-05 18:15:36 +0300
committerThorvald Natvig <slicer@users.sourceforge.net>2009-01-05 18:15:36 +0300
commitec7f8cb3174fdcba42820c312c7d82d8a6487801 (patch)
treec5606b0248e01e42a367c9d193f7c8562514a150 /plugins/cod2
parent1f33cb821b66815c764740e388916b160c836672 (diff)
Indenting update
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1382 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'plugins/cod2')
-rw-r--r--plugins/cod2/cod2.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/cod2/cod2.cpp b/plugins/cod2/cod2.cpp
index 077417f47..67c00964e 100644
--- a/plugins/cod2/cod2.cpp
+++ b/plugins/cod2/cod2.cpp
@@ -1,4 +1,4 @@
-#define _USE_MATH_DEFINES
+#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
@@ -71,16 +71,16 @@ static int fetch(float *pos, float *front, float *top) {
return true; // If this magic value is 4 we are spectating, so switch of PA
ok = peekProc((BYTE *) 0x01516608, pos+2, 4) && //Z
- peekProc((BYTE *) 0x0151660C, pos, 4) && //X
- peekProc((BYTE *) 0x01516610, pos+1, 4) && //Y
- peekProc((BYTE *) 0x0151A114, &viewHor, 4) && //Hor
- peekProc((BYTE *) 0x0151A110, &viewVer, 4); //Ver
+ peekProc((BYTE *) 0x0151660C, pos, 4) && //X
+ peekProc((BYTE *) 0x01516610, pos+1, 4) && //Y
+ peekProc((BYTE *) 0x0151A114, &viewHor, 4) && //Hor
+ peekProc((BYTE *) 0x0151A110, &viewVer, 4); //Ver
if (! ok)
return false;
// Scale Coordinates
- /*
+ /*
Z-Value is increasing when heading north
decreasing when heading south
X-Value is increasing when heading west