bugBattle for Wesnoth - Bugs: bug #7028, The movement range of a chosen...

Show feedback again

bug #7028: The movement range of a chosen unit is not updated upon death of an enemy unit

Submitted by:  None
Submitted on:  Sun Sep 17 20:05:05 2006  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface
Status: FixedPrivacy: Public
Assigned to: Martin Renold <martinxyz>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.1.9
Operating System: linux (all?)

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Jan 27 19:05:44 2008, SVN revision 23265:

Highlight and paths are now updated after moves/deaths. (bug #7028)
Additionally enemy moves do no longer unhighlight the player's
selection. I'm not sure if this is a bug or a feature.
There is a small glitch that you have to move the mouse 1px to get
the update during enemy turns. (it should call mouse_update() somewhere)

(Browse SVN revision 23265)

Martin Renold <martinxyz>
Project MemberIn charge of this item.
Sun Jan 20 13:12:14 2008, SVN revision 23096:
  • deselect units before moving, not after moving
  • allow to prepare next move during move/fight
  • fine-tuned mouse code

fixes bug #6311, bug #7132 and partially bug #5720
makes bug #7028 more visible

(Browse SVN revision 23096)

Martin Renold <martinxyz>
Project MemberIn charge of this item.
Sat Jan 12 20:34:15 2008, comment #3:

Still there in trunk r22918, the fixing is a bit tricky since the selected new unit might be unknown. After highlighting the reach area it's forgotten, just like the selected unit.

Mark de Wever <mordante>
Project Member
Mon Sep 18 07:00:54 2006, comment #2:

Disabling selection of units during animation would be clumsy, IMO.

Unfortunately I don't have an older version installed, so I can't check how this has been in the past.

Sun Sep 17 21:23:37 2006, comment #1:

yes I can confirm it.
question is what is the best solution, if disable selection units during animation or after death recalculate posible range (it`s harder to code, but not imposible)

Josef Redinger <queenkiller>
Project Member
Sun Sep 17 20:05:05 2006, original submission:

- Attack a unit.
- Choose (click on) another of your nearby units, and do it before the first attack is over.

If the first attacker succeeds in killing the unit it attacked:
- The chosen unit's movement range and movement range highlighting are not updated.
- You can not directly click to move to a non-highlighted hex, that in reality you can reach, but the game thinks you can't.
- You have to re-choose the unit you already chose in order to update the movement range.

The movement ranges are equally not updated if you choose (click on) an opponent's unit, and they kill one of your units.

So, to sum it up -> The movement range of a chosen unit is not updated upon death of another unit.

I am not sure if this is a regression from a previous version like 1.0.x. I haven't noticed this previously, so it may well be a regression.



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by martinxyz (Updated the item)
  • -unavailable- added by mordante (Posted a comment)
  • -unavailable- added by queenkiller (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Mar 1 03:57:24 2016cazfiDependencies-=>bugs #24334 is dependent
    Sun Jan 27 23:30:49 2008esrOpen/ClosedOpen=>Closed
    Sun Jan 27 20:49:10 2008martinxyzStatusConfirmed=>Fixed
    Sat Jan 19 14:00:45 2008martinxyzAssigned toNone=>martinxyz
    Sat Jan 12 20:34:15 2008mordanteStatusNone=>Confirmed
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup