summaryrefslogtreecommitdiff
path: root/src/heretic
diff options
context:
space:
mode:
authorChris Fielder2013-12-28 16:58:46 -0600
committerChris Fielder2013-12-28 16:58:46 -0600
commit936f9ffbb28bd6b5812c2f441aa176a494ed5e3f (patch)
treefefe29f75d21c3d622a838cb692396ec771dc32b /src/heretic
parent9ec3bb73ce95b11dbc5cac344acd4bfa22a81181 (diff)
downloadchocolate-doom-936f9ffbb28bd6b5812c2f441aa176a494ed5e3f.tar.gz
chocolate-doom-936f9ffbb28bd6b5812c2f441aa176a494ed5e3f.tar.bz2
chocolate-doom-936f9ffbb28bd6b5812c2f441aa176a494ed5e3f.zip
heretic: fix automap panning left
When follow mode is off, hitting left would cause it to scroll all the way to the west of the map without stopping.
Diffstat (limited to 'src/heretic')
-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 2230c69e..b753d96b 100644
--- a/src/heretic/am_map.c
+++ b/src/heretic/am_map.c
@@ -634,7 +634,7 @@ boolean AM_Responder(event_t * ev)
if (!followplayer)
m_paninc.x = 0;
}
- else if (key == key_map_east)
+ else if (key == key_map_west)
{
if (!followplayer)
m_paninc.x = 0;