Rich's move fix

Greg Lindahl (lindahl@pbm.com)
Fri, 26 Mar 1999 13:42:23 -0500 (EST)

The fix Rich has threatened for the move problem has an implication.

Say that 2 nobles want to stack and move off.

Let's say they're in the same place:

unit A
stack B
unit B
move n

This still works. But let's assume that A is in a tower in a city and
B is in the city:

unit A
move out
stack B
unit B
move out
move n

This used to do what you wanted, and in fact had a chance of
triggering the bug. Now it will not necessarily work, and if the bug
would have happened, it will fail.

[ I guess there is an implied ordering that sublocations go before
locations or the bug would show up much more frequently. ]

So beware. If units are not in the same location, they need
synchronization. If units are in the same location, things pretty much
happen like they should.

-- Greg, not Oleg

Main Index  |  Olympia  |  Arena  |  PBM FAQ  |  Links