# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1541803364 -3600
# Node ID a1178e1b57a636349a66b47d410f9ab8bb624c35
# Parent  6f76fe84fdee441343653be004cbe0be112d7d03
Fix bad StrToInt call ('0x' instead of '$' for hex), confuses Pas2C

diff -r 6f76fe84fdee -r a1178e1b57a6 hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Fri Nov 09 23:41:40 2018 +0100
+++ b/hedgewars/uStore.pas	Fri Nov 09 23:42:44 2018 +0100
@@ -818,8 +818,8 @@
                 if value[1] <> '#' then
                     continue;
                 temp:= copy(value, 2, length(value) - 1);
-                tempColor:= StrToInt('0x'+temp);
-				color:= tempColor
+                tempColor:= StrToInt('$'+temp);
+                color:= tempColor
                 end;
 
             if clanID <= cClanColors then