Group :: Games/Sports
RPM: TORCS
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: torcs-stringcompare.diff
Download
Download
--- src/libs/confscreens/driverconfig.cpp
+++ src/libs/confscreens/driverconfig.cpp
@@ -581,7 +581,7 @@
if (curPlayer == NULL) {
return;
}
- if (curPlayer->transmission != HM_VAL_AUTO) {
+ if (strcmp(curPlayer->transmission,HM_VAL_AUTO)) {
curPlayer->transmission = HM_VAL_AUTO;
} else {
curPlayer->transmission = HM_VAL_MANUAL;