Page 1 of 1

WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 7:58 pm
by ncc1701e
I have found a problem testing this modification:
Fixed unit merging and swapping to work with units that have not moved yet

Sometimes it works, sometimes it is displaying negative operation values.

As an example, this unit has not yet moved. It has 5 OPs.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 8:09 pm
by ncc1701e
This unit has not yet moved too.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 8:10 pm
by ncc1701e
Doing a swap.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 8:11 pm
by ncc1701e
I obtain an unit with 7--1. In fact, this is 7 - -1. There is a -1 operation points displayed in the upper left.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 8:12 pm
by ncc1701e
Another example here.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 8:13 pm
by ncc1701e
After the swap, I obtain an unit with 7--3. There is a -3 operation points displayed in the upper left.

Image

RE: WPE 1.00.141 Beta 5.1 - negative operation

Posted: Fri Nov 19, 2021 9:35 pm
by AlvaroSousa
It's because you can always move one hex. I will fix it.