From 31666585b9d2185cc6f4148a203352d725c82b38 Mon Sep 17 00:00:00 2001 From: pouillot Date: Sat, 23 Oct 2010 18:35:36 +0000 Subject: [PATCH] Re #138 (Task D29 : Selectable livery) Fixed regression in mono-session races after previous multi-session fix git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3045 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: acafe12db599415f605e4ebf7d86dabf133bfc5c Former-commit-id: 5ddea72a4822989c5a4c07c34c59124844916f82 --- src/libs/raceengineclient/racemain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/raceengineclient/racemain.cpp b/src/libs/raceengineclient/racemain.cpp index 87efe83c..18e0d44b 100644 --- a/src/libs/raceengineclient/racemain.cpp +++ b/src/libs/raceengineclient/racemain.cpp @@ -640,10 +640,10 @@ ReRaceStart(void) GfParmSetNum(params, path2, RM_ATTR_EXTENDED, NULL, GfParmGetNum(params, path, RM_ATTR_EXTENDED, NULL, 0)); GfParmSetNum(params, path2, RM_ATTR_SKINTARGETS, NULL, - GfParmGetNum(results, path, RM_ATTR_SKINTARGETS, NULL, 0)); - if (GfParmGetStr(results, path, RM_ATTR_SKINNAME, 0)) + GfParmGetNum(params, path, RM_ATTR_SKINTARGETS, NULL, 0)); + if (GfParmGetStr(params, path, RM_ATTR_SKINNAME, 0)) GfParmSetStr(params, path2, RM_ATTR_SKINNAME, - GfParmGetStr(results, path, RM_ATTR_SKINNAME, "")); + GfParmGetStr(params, path, RM_ATTR_SKINNAME, "")); } } }