OpenXcom Forum

Contributions => Programming => Topic started by: kevL on July 29, 2013, 01:51:48 am

Title: "TraceAI" in options.Cfg ?
Post by: kevL 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
Title: Re: "TraceAI" in options.Cfg ?
Post by: Warboy1982 on July 29, 2013, 09:34:48 am
thanks for pointing that out, this is now fixed.