Flight to Freedom map doesnt scroll on ipad

All questions/issues/feedback for the iOS version of Wesnoth belong here.

Moderator: Forum Moderators

Post Reply
CommodorePerry
Posts: 2
Joined: December 2nd, 2017, 12:49 pm

Flight to Freedom map doesnt scroll on ipad

Post by CommodorePerry »

In the opening scenario of the add on game flight to freedom an error message appears “invalid wml found. Animate unit is missing flag” and the map wont scroll, its locked on the current view. The two opening units can be moved but the view of the map wont scroll. Thanks in advance. Perry
Attachments
4E3931F3-8C22-457D-B578-6567C5A97F7E.png
User avatar
singalen
iOS Port Maintainer
Posts: 307
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: Flight to Freedom map doesnt scroll on ipad

Post by singalen »

I've reported this to the core team, but they cannot reproduce it. Looks like it's the add-on's bug. Will work with the add-on.
User avatar
octalot
Developer
Posts: 548
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: Flight to Freedom map doesnt scroll on ipad

Post by octalot »

Definitely a bug in the add-on, the intro is broken and it seems there will be a similar error in scenario 9 as well. Wesnoth 1.13.8 added a WML error to warn about this with the fix to #1678

Code: Select all

diff --git a/data/add-ons/Flight_Freedom/scenarios/01_Survival.cfg b/data/add-ons/Flight_Freedom/scenarios/01_Survival.cfg
index 0f26702..778b356 100644
--- a/data/add-ons/Flight_Freedom/scenarios/01_Survival.cfg
+++ b/data/add-ons/Flight_Freedom/scenarios/01_Survival.cfg
@@ -229,6 +229,7 @@
             [primary_attack]
                 range=melee
             [/primary_attack]
+            flag=attack
             hits=kill
             [facing]
                 x,y=14,11
Thanks for a nicely-written bug report Perry, I'll link to it from the add-on's thread.
Post Reply