foxygit / doom Log in
commit 936f9ffbb28bd6b5812c2f441aa176a494ed5e3f
Author:     Chris Fielder <shambler.qc@gmail.com>
AuthorDate: Sat Dec 28 16:58:46 2013 -0600
Commit:     Chris Fielder <shambler.qc@gmail.com>
CommitDate: Sat Dec 28 16:58:46 2013 -0600

    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.
---
 src/heretic/am_map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;