[Wesnoth-bugs] [bug #19656] [object]s with duration=turn are not removed on the first turn

2012-04-23 Thread Elvish_Hunter
URL:
  http://gna.org/bugs/?19656

 Summary: [object]s with duration=turn are not removed on the
first turn
 Project: Battle for Wesnoth
Submitted by: elvish_hunter
Submitted on: lun 23 apr 2012 08:23:02 GMT
Category: Bug
Severity: 4 - Important
Priority: 5 - Normal
  Item Group: WML
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: trunk
Operating System: All

___

Details:

After that support for [object] duration=turn was added, I noticed that a
perfect candidate for using it was the Stun ability from Dead Water and Under
the Burning Suns.
Attached to this report there are two patches that update the Stun ability to
use the new [object] duration=turn.
However, I noticed that, if a unit is stunned on the first turn of the
scenario, the [object] is not removed, and its effect continues to apply until
the start of the unit's side second turn.

To reproduce this:
- apply my patches
- start Dead Water, any difficult
- type :debug
- right-click, create a Merman Brawler at 34,20 (or anyway, adjacent to the
Skeleton with id=fiend)
- attack the Skeleton at 35,20 with the Tail attack, and hope that the RNG
helps you ;-)
- end the turn, and notice that the unit still keeps the stunning effects

This does not happen if the attack is delivered from second turn onwards, so
I'm suspecting that my patches trigger a bug in the C++ code. I'm marking the
bug as Important, as this feature, if working correctly, will be extremely
useful for several UMC stuff.



___

File Attachments:


---
Date: lun 23 apr 2012 08:23:02 GMT  Name: stun-DW.patch  Size: 5kB   By:
elvish_hunter

http://gna.org/bugs/download.php?file_id=15610
---
Date: lun 23 apr 2012 08:23:02 GMT  Name: stun-UtBS.patch  Size: 5kB   By:
elvish_hunter

http://gna.org/bugs/download.php?file_id=15611

___

Reply to this item at:

  http://gna.org/bugs/?19656

___
  Messaggio inviato con/da Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19626] segfaults resizing window

2012-04-23 Thread Matthias Krüger
Follow-up Comment #8, bug #19626 (project wesnoth):

Fix confirmed. Thanks! :)

___

Reply to this item at:

  http://gna.org/bugs/?19626

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [patch #3240] See EasyCoding chatting action for AI

2012-04-23 Thread Tilo Fischer
Additional Item Attachment, patch #3240 (project wesnoth):

File name: patch-3240.patch   Size:7 KB


___

Reply to this item at:

  http://gna.org/patch/?3240

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19651] 800x600 resolution mostly broken since 1.10

2012-04-23 Thread Ignacio R. Morelle
Update of bug #19651 (project wesnoth):

Severity: 5 - Blocker = 4 - Important  


___

Reply to this item at:

  http://gna.org/bugs/?19651

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19656] [object]s with duration=turn are not removed on the first turn

2012-04-23 Thread Anonymissimus
Update of bug #19656 (project wesnoth):

 Assigned to:None = brilliand  


___

Reply to this item at:

  http://gna.org/bugs/?19656

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [patch #3240] See EasyCoding chatting action for AI

2012-04-23 Thread Tilo Fischer
Additional Item Attachment, patch #3240 (project wesnoth):

File name: patch-3240.patch   Size:7 KB


___

Reply to this item at:

  http://gna.org/patch/?3240

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19656] [object]s with duration=turn are not removed on the first turn

2012-04-23 Thread Silas Brill
Update of bug #19656 (project wesnoth):

  Status:None = Confirmed  


___

Reply to this item at:

  http://gna.org/bugs/?19656

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #19656] [object]s with duration=turn are not removed on the first turn

2012-04-23 Thread Silas Brill
Update of bug #19656 (project wesnoth):

  Status:   Confirmed = Fixed  


___

Reply to this item at:

  http://gna.org/bugs/?19656

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs