Update of bug #12145 (project wormux):

                  Status:                    None => Confirmed              
             Assigned to:                    None => gentildemon            

    _______________________________________________________

Follow-up Comment #1:

Well, it seems there a problem of inheritance when loading "speed" from
game_mode/classic.xml:<tux>

In fact, here is the current bt:
Breakpoint 2, WeaponConfig::LoadXml (this=0x8bd1390, elem=0x8944c88) at
weapon/weapon_cfg.cpp:37
37        XmlReader::ReadUint(elem, "damage", damage);
(gdb) frame 2
#2  0x081ac3a9 in Weapon::LoadXml (this=0x8bd12d0, weapon=0x86da0e0) at
weapon/weapon.cpp:689
689       if (extra_params != NULL) extra_params->LoadXml(elem);
(gdb) print this->GetName().c_str()
$20 = 0x8bd2b84 "SuperTux"
(gdb) bt
#0  WeaponConfig::LoadXml (this=0x8bd1390, elem=0x8944c88) at
weapon/weapon_cfg.cpp:37
#1  0x081aaf5b in ExplosiveWeaponConfig::LoadXml (this=0x8bd1390,
elem=0x8944c88) at weapon/weapon_cfg.cpp:55
#2  0x081ac3a9 in Weapon::LoadXml (this=0x8bd12d0, weapon=0x86da0e0) at
weapon/weapon.cpp:689
#3  0x0808ebe8 in GameMode::LoadXml (this=0x86782e8, xml=0x86c8520) at
game/game_mode.cpp:164

So it lacks the level of SuperTuxWeaponConfig::LoadXml ...

What it strange is does this bug appears after r4720 and was not present
before r4715, which corresponds to fix the way of parsing xml file

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12145>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to