Follow-up Comment #1, bug #7735 (project wormux):

Need to test something like this later this day :

void Teleportation::ChooseTarget(Point2i mouse_pos)
{
  dst = mouse_pos - ActiveCharacter().GetSize()/2;
 
if(!world.ParanoiacRectIsInVacuum(Rectanglei(dst,ActiveCharacter().GetSize())))
     return;
  target_chosen = true;
  Shoot();
}


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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