SHARE
TWEET

ShipHullsParser hulls property parsing fix

a guest Nov 15th, 2011 36 Never
  1. --- FreeOrion/parse/ShipHullsParser.cpp (revision 4486)
  2. +++ FreeOrion/parse/ShipHullsParser.cpp (working copy)
  3. @@ -83,7 +83,7 @@
  4.                      >    parse::label(StarlaneSpeed_name) > parse::double_ [ _b = _1 ]
  5.                      >    parse::label(Fuel_name)          > parse::double_ [ _c = _1 ]
  6.                      >    parse::label(Stealth_name)       > parse::double_ [ _d = _1 ]
  7. -                    >    parse::label(Structure_name)     > parse::double_ [ _val = construct<HullTypeStats>(_a, _b, _c, _d, _1) ]
  8. +                    >    parse::label(Structure_name)     > parse::double_ [ _val = construct<HullTypeStats>(_c, _a, _b, _d, _1) ]
  9.                      ;
  10.  
  11.                  producible
  12.  
RAW Paste Data
Top