Update of bug #7715 (project wormux):

                Priority:               1 - Later => 7 - High               
             Assigned to:                    None => oznog                  

    _______________________________________________________

Follow-up Comment #4:

Well, currently, destroying a barrel or a bonus box implies an infinite
loop.

The method SignalDeath() is called on the barrel, it generates some
fireparticles, then, as the barrel has not been already removed from the
object list, the explosion generate again a call to barrel::SignalDeath() and
so on ...

Here is a backtrace :
#0  XmlReader::ReadBool (x=0x9681248, [EMAIL PROTECTED], [EMAIL PROTECTED]) at
tool/xml_document.cpp:117
#1  0x080f6dc9 in ObjectConfig::LoadXml (this=0x967e6e4, [EMAIL PROTECTED],
[EMAIL PROTECTED])
    at object/object_cfg.cpp:64
#2  0x080f1876 in PhysicalObj (this=0x967e5f0, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at object/physical_obj.cpp:79
#3  0x0811672f in Particle (this=0x967e5f0, [EMAIL PROTECTED]) at
particles/particle.cpp:51
#4  0x08112fae in FireParticle (this=0x967e5f0) at particles/fire.cpp:35
#5  0x08115057 in ParticleEngine::AddNow ([EMAIL PROTECTED],
nb_particles=20, type=particle_FIRE, upper=true, angle=-1, 
    norme=-1) at particles/particle.cpp:194
#6  0x080f36e6 in PetrolBarrel::SignalDeath (this=0x8cb6ba0) at
object/barrel.cpp:59
#7  0x080ed83c in PhysicalObj::AddDamage (this=0x8cb6ba0, damage_points=10)
at object/physical_obj.cpp:232
#8  0x08129e62 in ApplyExplosion_common ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:160
#9  0x0812a01a in ApplyExplosion ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:54
#10 0x080f3780 in PetrolBarrel::SignalDeath (this=0x8cb6ba0) at
object/barrel.cpp:67
#11 0x080ed83c in PhysicalObj::AddDamage (this=0x8cb6ba0, damage_points=10)
at object/physical_obj.cpp:232
#12 0x08129e62 in ApplyExplosion_common ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:160
#13 0x0812a01a in ApplyExplosion ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:54
#14 0x080f3780 in PetrolBarrel::SignalDeath (this=0x8cb6ba0) at
object/barrel.cpp:67
#15 0x080ed83c in PhysicalObj::AddDamage (this=0x8cb6ba0, damage_points=75)
at object/physical_obj.cpp:232
#16 0x08129e62 in ApplyExplosion_common ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:160
#17 0x0812a01a in ApplyExplosion ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, 
    smoke=ParticleEngine::BigESmoke) at weapon/explosion.cpp:54
#18 0x0812afa8 in WeaponProjectile::DoExplosion (this=0x82fad40) at
weapon/launcher.cpp:258
#19 0x0812b428 in WeaponProjectile::Explosion (this=0x82fad40) at
weapon/launcher.cpp:244

Oznog, it's up to you now!

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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