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:
authorTuck Therebelos <snares@users.sourceforge.net>2009-11-24 09:13:03 +0300
committerTuck Therebelos <snares@users.sourceforge.net>2009-11-24 09:13:03 +0300
commit50af882aafc406e9c44d58ebaf4d9e024569cd62 (patch)
tree25c0a7d8eed4f7770958c61523622f9da4e18d66 /plugins/codmw2so
parent4a21671d1fb3fc6b7042fd325c9e8ea7c29c5592 (diff)
MW2SO fix state value
Diffstat (limited to 'plugins/codmw2so')
-rw-r--r--plugins/codmw2so/codmw2so.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/codmw2so/codmw2so.cpp b/plugins/codmw2so/codmw2so.cpp
index 003ae4c1f..a12b9c9b6 100644
--- a/plugins/codmw2so/codmw2so.cpp
+++ b/plugins/codmw2so/codmw2so.cpp
@@ -100,13 +100,13 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
// /*
// state value is:
// 0 while not in game
- // 4 while playing
+ // 4 to 5 while playing
// This value is used for disabling pa for spectators
// or people not on a server.
// */
- if (state != 4)
+ if (state == 0)
return true; // This results in all vectors beeing zero which tells mumble to ignore them.
ok = peekProc((BYTE *) 0x00782A64, avatar_pos+2, 4) && //Z