Author Topic: "TraceAI" in options.Cfg ?  (Read 3613 times)

Offline kevL

  • Colonel
  • ****
  • Posts: 461
  • pitchforks and torches
    • View Profile
"TraceAI" in options.Cfg ?
« on: July 29, 2013, 01:51:48 am »
I notice that when creating an options.cfg file, the setting "traceAI" gets written twice. Slightly differently, tho:

traceAI: false
TraceAI: ""

- thought i'd mention it in case it's one of those things... The first appears when the game is loaded and immediately closed; the second appears only after loading a tactical save map, then closed.

( don't want to classify it as a bug, but figure this is the place to speak up. Recent git )

-> did some hunting and, as far as i see, "traceAI" gets set in Engine/Options.cpp, createDefault() with the rest of the config settings, and gets used several times in battle-code. "TraceAI", on the other hand, presently seems confined to only Battlescape\Map.cpp, Map::Map() when a condition is tested.... <- just dabbling there, but it looks like "TraceAI" is obsolete
« Last Edit: July 29, 2013, 02:16:24 am by kevL »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
    • Email
Re: "TraceAI" in options.Cfg ?
« Reply #1 on: July 29, 2013, 09:34:48 am »
thanks for pointing that out, this is now fixed.