summaryrefslogtreecommitdiff
path: root/src/strife/r_main.c
diff options
context:
space:
mode:
authorJames Haley2010-09-18 17:35:57 +0000
committerJames Haley2010-09-18 17:35:57 +0000
commit5de507694b0ca43739033d75cf20fcf7ea31a2dd (patch)
tree931db2024210a6396df2808c8cd626b7bcb19991 /src/strife/r_main.c
parentbf215f516ed4742fd19b920d8a5d3f6738375168 (diff)
downloadchocolate-doom-5de507694b0ca43739033d75cf20fcf7ea31a2dd.tar.gz
chocolate-doom-5de507694b0ca43739033d75cf20fcf7ea31a2dd.tar.bz2
chocolate-doom-5de507694b0ca43739033d75cf20fcf7ea31a2dd.zip
Tons of warnings fixed - now only 7 warnings at warning level 3, and
most of those are outside of our own code (get on those signed/unsigned mismatches in the midi code, fraggle ;) Subversion-branch: /branches/strife-branch Subversion-revision: 2110
Diffstat (limited to 'src/strife/r_main.c')
-rw-r--r--src/strife/r_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/r_main.c b/src/strife/r_main.c
index d9f0672a..b9d9f300 100644
--- a/src/strife/r_main.c
+++ b/src/strife/r_main.c
@@ -320,7 +320,7 @@ R_PointToAngle
if (x>y)
{
// octant 8
- return -tantoangle[SlopeDiv(y,x)];
+ return 0 - tantoangle[SlopeDiv(y,x)];
}
else
{