summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-06-07 21:53:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-06-07 21:53:22 +0200
commit80e7167f0b679782d7f5fc1200112026a64d8339 (patch)
tree961d53ba430866b33a88ed2ae0f4c80904a8230f
parentf7e9f2e133b99c7cab097a4a416eeb48ca75bdc9 (diff)
fix some confused crapola that never worked anywayopentrack-2.2a2
Broke some games. How did it EVER work, is beyond me. Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--ftnoir_csv/csv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp
index ebdf50bb..66823d24 100644
--- a/ftnoir_csv/csv.cpp
+++ b/ftnoir_csv/csv.cpp
@@ -155,7 +155,7 @@ void CSV::getGameData( const int id, unsigned char* table, QString& gamename)
tmp + 6,
tmp + 5,
tmp + 4,
- fuzz + 1) != 11 || (int) ((fuzz[2] << 8) | fuzz[0]) != gameLine.at(0).toInt())
+ fuzz + 1) != 11)
{
qDebug() << "scanf failed" << fuzz[0] << fuzz[1] << fuzz[2];
}