URL:
<http://gna.org/bugs/?func=detailitem&item_id=6831>
Summary: The Physical Engine call 3 times Explosion
Project: Wormux
Submitted by: drayan
Submitted on: jeudi 31.08.2006 à 11:53
Category: None
Priority: 1 - Later
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
_______________________________________________________
Details:
Take the Snipe Rifle and fire anybody with a breakpoint in launcher.cpp line
71
You will see 3 call of the Explosion method. Here is the 3 backtraces :
* First time :
(gdb) backtrace
#0 WeaponBullet::Explosion (this=0x81dcb38) at weapon/launcher.cpp:71
#1 0x080a31be in PhysicalObj::NotifyMove (this=0x81dcb38, oldPos={x =
61.51033951853239, y = 28.725472618364474}, newPos={x = 61.31301599838563, y
= 28.687190280200923}) at object/physical_obj.cpp:319
#2 0x080a5250 in Physics::RunPhysicalEngine (this=0x81dcb38) at
object/physics.cpp:513
#3 0x080a2abd in PhysicalObj::UpdatePosition (this=0x81dcb38) at
object/physical_obj.cpp:360
#4 0x080a90a1 in ObjectsList::Refresh (this=0x811ec10) at
object/objects_list.cpp:110
#5 0x0805af1e in GameLoop::Refresh (this=0x9995100) at
game/game_loop.cpp:304
#6 0x0805b04d in GameLoop::Run (this=0x889d3f8) at game/game_loop.cpp:427
#7 0x080584bc in Game::Start (this=0x8165790) at game/game.cpp:145
#8 0x080817f7 in Menu::sig_ok (this=0xbfcc445c) at menu/menu.cpp:75
#9 0x08081d86 in Menu::BasicOnClic (this=0xbfcc445c,
[EMAIL PROTECTED]) at menu/menu.cpp:89
#10 0x08081ead in Menu::Run (this=0xbfcc445c) at menu/menu.cpp:149
#11 0x08054181 in AppWormux::main (this=0x81227c8, argc=135256648,
argv=0x80fda48) at main.cpp:79
#12 0x0805433b in main (argc=135247092, argv=0x80fb4f4) at main.cpp:234
* Second time :
(gdb) backtrace
#0 WeaponBullet::Explosion (this=0x81dcb38) at weapon/launcher.cpp:71
#1 0x080a31be in PhysicalObj::NotifyMove (this=0x81dcb38, oldPos={x =
61.325000000000003, y = 28.675000000000001}, newPos={x = 61.323026955684838,
y = 28.674699682959183}) at object/physical_obj.cpp:319
#2 0x080a5250 in Physics::RunPhysicalEngine (this=0x81dcb38) at
object/physics.cpp:513
#3 0x080a2abd in PhysicalObj::UpdatePosition (this=0x81dcb38) at
object/physical_obj.cpp:360
#4 0x080a90a1 in ObjectsList::Refresh (this=0x811ec10) at
object/objects_list.cpp:110
#5 0x0805af1e in GameLoop::Refresh (this=0x9995100) at
game/game_loop.cpp:304
#6 0x0805b04d in GameLoop::Run (this=0x889d3f8) at game/game_loop.cpp:427
#7 0x080584bc in Game::Start (this=0x8165790) at game/game.cpp:145
#8 0x080817f7 in Menu::sig_ok (this=0xbfcc445c) at menu/menu.cpp:75
#9 0x08081d86 in Menu::BasicOnClic (this=0xbfcc445c,
[EMAIL PROTECTED]) at menu/menu.cpp:89
#10 0x08081ead in Menu::Run (this=0xbfcc445c) at menu/menu.cpp:149
#11 0x08054181 in AppWormux::main (this=0x81227c8, argc=135256648,
argv=0x80fda48) at main.cpp:79
#12 0x0805433b in main (argc=135247092, argv=0x80fb4f4) at main.cpp:234
* Third time :
(gdb) backtrace
#0 WeaponBullet::Explosion (this=0x81dcb38) at weapon/launcher.cpp:71
#1 0x080de4f3 in WeaponBullet::SignalCollision (this=0x81dcb38) at
weapon/launcher.cpp:57
#2 0x080a3240 in PhysicalObj::NotifyMove (this=0x81dcb38, oldPos={x =
61.325000000000003, y = 28.675000000000001}, newPos={x = 61.323026955684838,
y = 28.674699682959183}) at object/physical_obj.cpp:337
#3 0x080a5250 in Physics::RunPhysicalEngine (this=0x81dcb38) at
object/physics.cpp:513
#4 0x080a2abd in PhysicalObj::UpdatePosition (this=0x81dcb38) at
object/physical_obj.cpp:360
#5 0x080a90a1 in ObjectsList::Refresh (this=0x811ec10) at
object/objects_list.cpp:110
#6 0x0805af1e in GameLoop::Refresh (this=0x9995100) at
game/game_loop.cpp:304
#7 0x0805b04d in GameLoop::Run (this=0x889d3f8) at game/game_loop.cpp:427
#8 0x080584bc in Game::Start (this=0x8165790) at game/game.cpp:145
#9 0x080817f7 in Menu::sig_ok (this=0xbfcc445c) at menu/menu.cpp:75
#10 0x08081d86 in Menu::BasicOnClic (this=0xbfcc445c,
[EMAIL PROTECTED]) at menu/menu.cpp:89
#11 0x08081ead in Menu::Run (this=0xbfcc445c) at menu/menu.cpp:149
#12 0x08054181 in AppWormux::main (this=0x81227c8, argc=135256648,
argv=0x80fda48) at main.cpp:79
#13 0x0805433b in main (argc=135256648, argv=0x80fda48) at main.cpp:234
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?func=detailitem&item_id=6831>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna