Follow-up Comment #2, bug #9815 (project wormux):
I think a simple test about current_tux is enough :
void TuxLauncher::RefreshFromNetwork(double angle, Point2d pos)
{
if(current_tux == NULL)
return;
current_tux->SetAngle(angle);
current_tux->SetPhysXY(pos);
current_tux->SetSpeedXY(Point2d(0,0));
}
I think it could be interesting to move this method into weapon_launcher and
use it to upgrade any weapon projectile state.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?9815>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna