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:
authorStefan Hacker <dd0t@users.sourceforge.net>2010-02-09 00:34:50 +0300
committerStefan Hacker <dd0t@users.sourceforge.net>2010-02-09 00:35:22 +0300
commit070692d6fb62e98f5f60bf8583b95b499ad01aa3 (patch)
tree4797aba4365b88d7b44db3573048b3c1ac8b3746 /plugins/codmw2so
parent1e36860075918e2f6c2e7c1964c467225f67893a (diff)
Small style fixes in some plugins
Diffstat (limited to 'plugins/codmw2so')
-rw-r--r--plugins/codmw2so/codmw2so.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/codmw2so/codmw2so.cpp b/plugins/codmw2so/codmw2so.cpp
index 18d9498c9..705cb42cd 100644
--- a/plugins/codmw2so/codmw2so.cpp
+++ b/plugins/codmw2so/codmw2so.cpp
@@ -102,24 +102,24 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
avatar_pos[i] = avatar_front[i] = avatar_top[i] = camera_pos[i] = camera_front[i] = camera_top[i] = 0.0f;
bool ok;
- bool so;
/*
This plugin uses the following Variables:
Address Type Description
===================================
- 0x00782A64 float Z-Coordinate
- 0x00782A68 float X-Coordinate
- 0x00782A6C float Y-Coordinate
- 0x00782A34 float Horizontal view (degrees)
- 0x00782A30 float Vertical view (degrees)
-
- 0x01597682 byte Magical state value
+ 0x00783A64 float Z-Coordinate
+ 0x00783A68 float X-Coordinate
+ 0x00783A6C float Y-Coordinate
+ 0x00783A34 float Horizontal view (degrees)
+ 0x00783A30 float Vertical view (degrees)
+
+ 0x019713F0 byte SO game identifier
+ 0x009270F0 byte Magical state value
*/
- so = peekProc((BYTE *) 0x019713F0, &specops, 1); // Magical state value
- if (! so)
+ ok = peekProc((BYTE *) 0x019713F0, &specops, 1); // Magical state value
+ if (! ok)
return false;
if (specops != 2)
@@ -192,7 +192,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
camera_top[i] = avatar_top[i];
}
- return ok;
+ return true;
}
static int trylock() {