]> git.pond.sub.org Git - empserver/commit
Fix lmine to use correct coordinate system
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 May 2010 09:07:04 +0000 (11:07 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 21 Jun 2010 19:03:21 +0000 (21:03 +0200)
commitbc72ff768f35b4d2067d0eaba1b66e36f0644032
treebc0a18aab795e896fc9090c88f8685891e989c94
parentbedf3ae4150ddd9d4242e52a21ea8eec67919ba2
Fix lmine to use correct coordinate system

It reported the engineer's location in the engineer's coordinate
system instead of the player's.  Fortunately, they're the same in
normal usage.  They can differ only when a deity uses a foreign
engineer.

The buggy code is also reachable from and march sub-command 'd', but
can't bite there, because even deities can't march foreign land units.
src/lib/commands/mine.c