Page 1 of 1

2.7.5.0 - Naval Air Combat bug - CVP fails to land on carrier after combat!

Posted: Sun Jan 28, 2018 7:27 am
by BrianJH

I think I've found another bug.

After Naval air combat, my CVP failed to land on its carrier. This was a one sided combat with no losses on the CVP side, there should be no reason why this happens.

Brian.






Image

RE: 2.7.5.0 - Naval Air Combat bug - CVP fails to land on carrier after combat!

Posted: Sun Jan 28, 2018 7:30 am
by BrianJH

Save Game attached.

Steps to reproduce.

1. Move the Emden from Kiel to the North Sea.
2. CW intercepts - Choose Ceres - set die roll 2
3. Fight Through?
4. German selects Yes select the 1 box
5. CW Naval Interceptors - skip
6. German Naval Interceptors - skip
7. Non-initiating (Axis) die roll set to 9.
8. CW spends no surprise points now - but chooses Naval Air Combat
9. Select Bomber for the Baffin
10. CW Increases Naval Combat Columns ( 5x 2points)
11. CW Applies Combat results.
12. Attempt to land bomber fails - and is destroyed!




RE: 2.7.5.0 - Naval Air Combat bug - CVP fails to land on carrier after combat!

Posted: Sun Jan 28, 2018 9:18 am
by Majorball68
Was it a PBEM where you sent save for your opponent to add air support?

RE: 2.7.5.0 - Naval Air Combat bug - CVP fails to land on carrier after combat!

Posted: Sun Jan 28, 2018 10:24 am
by Centuur
This is a bug...

RE: 2.7.5.0 - Naval Air Combat bug - CVP fails to land on carrier after combat!

Posted: Sun Jan 28, 2018 2:58 pm
by Shannon V. OKeets
I worked on this yesterday and should be able to finish fixing it today.

The problem only occurs after naval air combat where the carrier air unit flies as a bomber, gets an abort result, and there is only one carrier on which to land. When there is more than 1 possible carrier, then the code is correct. It should work if there is more than 1 carrier air unit landing too.

Anyway, I'm working through the code line by line making sure it is correct in all instances.