Fixed bug: wrong missiles set from udta, for units without missiles.
This commit is contained in:
parent
f4b805c41d
commit
048ab71dcb
3 changed files with 34 additions and 1 deletions
|
@ -564,6 +564,7 @@
|
|||
<LI>Cursor module support now more than two races and is configurable with
|
||||
CCL.
|
||||
<LI>Fixed bug: Wrong resources display, wrong format string.
|
||||
<LI>Changed keyboard layout, all special keys must be pressed with ALT/CTRL.
|
||||
<LI>+++
|
||||
<LI>TODO: Fixed bug: Unit didn't return to start point, if attacking.
|
||||
</UL>
|
||||
|
|
|
@ -180,7 +180,6 @@ global void ActionStillGeneric(Unit* unit,int ground)
|
|||
unit->SavedOrder.Y=unit->Y;
|
||||
unit->SavedOrder.Goal=NoUnitP;
|
||||
ResetPath(unit->SavedOrder);
|
||||
DebugLevel2Fn("Save order\n");
|
||||
#else
|
||||
unit->SavedCommand.Action=UnitActionAttack;
|
||||
unit->SavedCommand.Data.Move.Range=0;
|
||||
|
|
|
@ -109,6 +109,39 @@
|
|||
** Default without CCL support.
|
||||
*/
|
||||
local char* DefaultMissileTypeWcNames[] = {
|
||||
"missile-lightning",
|
||||
"missile-griffon-hammer",
|
||||
"missile-dragon-breath",
|
||||
"missile-fireball",
|
||||
"missile-flame-shield",
|
||||
"missile-blizzard",
|
||||
"missile-death-and-decay",
|
||||
"missile-big-cannon",
|
||||
"missile-exorcism",
|
||||
"missile-heal-effect",
|
||||
"missile-touch-of-death",
|
||||
"missile-rune",
|
||||
"missile-whirlwind",
|
||||
"missile-catapult-rock",
|
||||
"missile-ballista-bolt",
|
||||
"missile-arrow",
|
||||
"missile-axe",
|
||||
"missile-submarine-missile",
|
||||
"missile-turtle-missile",
|
||||
"missile-small-fire",
|
||||
"missile-big-fire",
|
||||
"missile-impact",
|
||||
"missile-normal-spell",
|
||||
"missile-explosion",
|
||||
"missile-small-cannon",
|
||||
"missile-cannon-explosion",
|
||||
"missile-cannon-tower-explosion",
|
||||
"missile-daemon-fire",
|
||||
"missile-green-cross",
|
||||
"missile-none",
|
||||
"missile-blizzard-hit",
|
||||
"missile-death-coil",
|
||||
"missile-custom",
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue