Forums
unable to assign fourth gear - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: unable to assign fourth gear (/showthread.php?tid=1040)



unable to assign fourth gear - ams76 - 12-29-2008

At the moment it doesn't appear to be possible to assign a key to fourth gear.
The patch below fixed the problem for me.

Code:
Index: include/carcontrolmap_local.h
===================================================================
--- include/carcontrolmap_local.h    (revision 2278)
+++ include/carcontrolmap_local.h    (working copy)
@@ -318,7 +318,7 @@
        carinput_stringmap["first_gear"] = CARINPUT::FIRST_GEAR;
        carinput_stringmap["second_gear"] = CARINPUT::SECOND_GEAR;
        carinput_stringmap["third_gear"] = CARINPUT::THIRD_GEAR;
-        carinput_stringmap["forth_gear"] = CARINPUT::FOURTH_GEAR;
+        carinput_stringmap["fourth_gear"] = CARINPUT::FOURTH_GEAR;
        carinput_stringmap["fifth_gear"] = CARINPUT::FIFTH_GEAR;
        carinput_stringmap["sixth_gear"] = CARINPUT::SIXTH_GEAR;
        carinput_stringmap["reverse"] = CARINPUT::REVERSE;

Cheers


- joevenzon - 12-29-2008

Awesome, thanks, fixed in R2279.