summaryrefslogtreecommitdiff
path: root/src/hexen/am_data.h
diff options
context:
space:
mode:
authorSimon Howard2009-10-16 18:35:19 +0000
committerSimon Howard2009-10-16 18:35:19 +0000
commit35f753d9e4b9d85cc712262a751729688e32aad6 (patch)
tree8bdecfaf3984c6ea1fee2a98526400ff648961dc /src/hexen/am_data.h
parent4c0dc104d7582d709d8cc665a1c46ed1d49cdd65 (diff)
downloadchocolate-doom-35f753d9e4b9d85cc712262a751729688e32aad6.tar.gz
chocolate-doom-35f753d9e4b9d85cc712262a751729688e32aad6.tar.bz2
chocolate-doom-35f753d9e4b9d85cc712262a751729688e32aad6.zip
Fix compile under MSVC (thanks entryway).
Subversion-branch: /branches/raven-branch Subversion-revision: 1718
Diffstat (limited to 'src/hexen/am_data.h')
-rw-r--r--src/hexen/am_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hexen/am_data.h b/src/hexen/am_data.h
index db964598..e20e34ce 100644
--- a/src/hexen/am_data.h
+++ b/src/hexen/am_data.h
@@ -108,9 +108,9 @@ mline_t triangle_guy[] = {
#define R (FRACUNIT)
mline_t thintriangle_guy[] = {
- { { -.5*R, -.7*R }, { R, 0 } },
- { { R, 0 }, { -.5*R, .7*R } },
- { { -.5*R, .7*R }, { -.5*R, -.7*R } }
+ { { (fixed_t)(-.5*R), (fixed_t)(-.7*R) }, { (fixed_t)(R ), (fixed_t)(0 ) } },
+ { { (fixed_t)(R ), (fixed_t)(0 ) }, { (fixed_t)(-.5*R), (fixed_t)(.7*R ) } },
+ { { (fixed_t)(-.5*R), (fixed_t)(.7*R ) }, { (fixed_t)(-.5*R), (fixed_t)(-.7*R) } }
};
#undef R
#define NUMTHINTRIANGLEGUYLINES (sizeof(thintriangle_guy)/sizeof(mline_t))