]> git.pond.sub.org Git - empserver/commit
Fix fire command to detect when the firing object changes
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 4 May 2008 14:44:26 +0000 (16:44 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 4 May 2008 14:44:26 +0000 (16:44 +0200)
commit66165f34cb4df93ec9d4d87ef7ee4cc12dcb21f2
tree1489b5a11254c6df9ea135867674ca59474c8586
parentbf2fd6cb8227d7d8564f47bd42fd1a06ac2f314f
Fix fire command to detect when the firing object changes

multifire() failed to take into account that the firing firing sector,
ship or land unit can change while it is getting the target argument.
It thus clobbered any updates made to the firing object while it was
sleeping for the target argument.  Abusable.  Broken when Chainsaw
introduced MULTIFIRE.
src/lib/commands/mfir.c