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:
authorImre Botos <zokny@users.sourceforge.net>2010-07-29 22:00:23 +0400
committerStefan Hacker <dd0t@users.sourceforge.net>2010-07-30 22:23:25 +0400
commit3e919199c9a349ebb0214d183e852ecd6d873a3c (patch)
treea670ca632a0e0ea42c0d5d178bbe3f517583456f /plugins/cs
parent41cdc04b318c3790519223b17125efbad4d377de (diff)
Counter-Strike 1.6 plugin fix
Diffstat (limited to 'plugins/cs')
-rw-r--r--plugins/cs/cs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cs/cs.cpp b/plugins/cs/cs.cpp
index e6eee6057..3620aa610 100644
--- a/plugins/cs/cs.cpp
+++ b/plugins/cs/cs.cpp
@@ -96,7 +96,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
if (!cPlayerState)
return true;
- if ((fViewHor < -360.0f) || (fViewVer > 360.0f) || (fViewHor < -360.0f) || (fViewHor > 360.0f))
+ if ((fViewVer < -720.0f) || (fViewVer > 720.0f) || (fViewHor < -720.0f) || (fViewHor > 720.0f))
return false;
fViewHor *= static_cast<float>(M_PI / 180.0f);