Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Patch for crashes due to meteors and lightnings

closed-fixed
nobody
None
5
2007-02-08
2004-05-10
Jan Hudec
No

This patches should fix the crashes when meteor or lightning hit a
tank. It should close bugs #941951, #941562, #904778 and
#897598.

It simply encloses the two problematic accesses to
player->damageMultiplier in a conditional operatior: (player ?
player->damageMultiplier : 1.0)

Discussion

  • Jan Hudec
    Jan Hudec
    2004-05-10

    Patch to make non-player caused damage

     
  • Logged In: NO

    I agree. In beam.cc and explosion.cc the player->damageMultiplier
    isn't checked for lightning or meteors. Trying this idea,
    I've managed to play a few games without crashes.
    Thank you for the info.

     
  • Jesse Smith
    Jesse Smith
    2007-02-08

    Logged In: YES
    user_id=473129
    Originator: NO

    This bug has been corrected in the Atanks 2.x releases.

     
  • Jesse Smith
    Jesse Smith
    2007-02-08

    • status: open --> closed-fixed