summaryrefslogtreecommitdiff
path: root/src/heretic/am_map.c
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/heretic/am_map.c
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/heretic/am_map.c')
-rw-r--r--src/heretic/am_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/am_map.c b/src/heretic/am_map.c
index aa1b273b..99a8e206 100644
--- a/src/heretic/am_map.c
+++ b/src/heretic/am_map.c
@@ -131,7 +131,7 @@ static fixed_t old_m_x, old_m_y;
static mpoint_t f_oldloc;
// used by MTOF to scale from map-to-frame-buffer coords
-static fixed_t scale_mtof = INITSCALEMTOF;
+static fixed_t scale_mtof = (fixed_t)INITSCALEMTOF;
// used by FTOM to scale from frame-buffer-to-map coords (=1/scale_mtof)
static fixed_t scale_ftom;