Opened 8 years ago
Last modified 7 years ago
#3998 closed defect
GameAttributes PlayerData should contain gaia — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
Some maps (f.e. Northern Island) add a null
item to the playerData array of the gamesettings representing gaia while most other maps don't.
Similarly many places in the code have arrays with gaia in it, while other places don't, resulting array indices to be off by one often, f.e. in source:ps/trunk/binaries/data/mods/public/maps/random/rmgen/library.js
Instead every map should have a gaia item, which should not only remove the +1 / -1 index operations but also could allow mapmakers to add configuration for gaia (f.e. an AI).
Note:
See TracTickets
for help on using tickets.