]> git.pond.sub.org Git - empserver/commit
Don't permit bombing of embarked planes and land units
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Aug 2008 21:28:05 +0000 (17:28 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 2 Aug 2008 21:28:05 +0000 (17:28 -0400)
commit6a95e67e4f0216467af137609854fd55050085f0
treead199fbcd7e2acd7fa310680b0f7e88c0ba1c756
parent3a9545fe99de53881bd5958d967a76f40659f20c
Don't permit bombing of embarked planes and land units

Change planesatxy() not to list embarked planes, plane_bomb() not to
bomb them, and land_bomb() not to bomb embarked land units.

Curiously, embarked land units were not listed as targets before, but
could be bombed all the same.
src/lib/commands/bomb.c
src/lib/subs/list.c