Home » MODDING HQ 1.13 » v1.13 General Development Talk » Any introduction to the code?
Re: Any introduction to the code?[message #357812 is a reply to message #357811] Thu, 08 August 2019 20:53 Go to previous messageGo to previous message
MH17 is currently offline MH17

 
Messages:46
Registered:November 2018
Location: Antarctica
Dear SllverSurfer,

I think you got the idea right.

As to your question: I'm not sure that within my plan to fix the bug the function needs the if-check within the while-loop at all.
I tried to run the code with few tests including that one described above (two different groups in sector B9) and I see that a condition of the if-operator never becomes true.

In other words we skip inactive soldiers and soldiers labelled on previous iterations of the while-loop moving the initial value of the index firstSlot.
Since I'm not capable to create a situation when the execution point drops within the if-check I dont think that I should modify it.

PS: I suggest that most probably your idea makes sense.

[Updated on: Thu, 08 August 2019 21:05]

Report message to a moderator

Corporal
 
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message film28.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: An easy way of editing the XML files in dev builds (XML Editor broken?)
Next Topic: How to change loading screens?
Goto Forum:
  


Current Time: Wed Feb 12 17:52:19 GMT+2 2025

Total time taken to generate the page: 0.01016 seconds