URL:
  <http://gna.org/bugs/?21414>

                 Summary: Huts in S2_5 savegame loaded into trunk as pollution
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Thu Jan  2 02:06:41 2014
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: trunk r23973
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 2.6.0

    _______________________________________________________

Details:

See attached savegame -- a new map is covered in pollution when loaded into
trunk. The same game loaded into S2_5 shows huts in these positions, as
expected.

I think this is because sg_special_get() is expecting special_extra_get() to
index by enum tile_special_type (a hardcoded order), but actually it indexes
by the order of extras in the ruleset; since Oil Well was added, these have
happened to be different.

I haven't looked to see what the right solution is.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu Jan  2 02:06:41 2014  Name: roadorder.sav.bz2  Size: 13kB   By: jtn
Example S2_5 savegame
<http://gna.org/bugs/download.php?file_id=19597>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21414>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to