Want more features on Pastebin? Sign Up, it's FREE!
Guest

ShipHullsParser hulls property parsing fix

By: a guest on Nov 15th, 2011  |  syntax: Diff  |  size: 0.70 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  
clone this paste RAW Paste Data