shithub: choc

Download patch

ref: 936f9ffbb28bd6b5812c2f441aa176a494ed5e3f
parent: 9ec3bb73ce95b11dbc5cac344acd4bfa22a81181
author: Chris Fielder <shambler.qc@gmail.com>
date: Sat Dec 28 11:58:46 EST 2013

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.

--- a/src/heretic/am_map.c
+++ b/src/heretic/am_map.c
@@ -634,7 +634,7 @@
             if (!followplayer)
                 m_paninc.x = 0;
         }
-        else if (key == key_map_east)
+        else if (key == key_map_west)
         {
             if (!followplayer)
                 m_paninc.x = 0;