ENIGMA Forums

Contributing to ENIGMA => Function Peer Review => Topic started by: RetroX on January 22, 2011, 09:00:14 PM

Title: collision_point
Post by: RetroX on January 22, 2011, 09:00:14 PM
Code: [Select]
int collision_point(double x, double y, int obj, bool prec /*ignored*/, bool notme)
{
  const enigma::object_collisions* r = collide_inst_point(obj,false,notme,x,y); //false is for solid_only, not prec
  return r == NULL ? noone : r->id;
}

It's Ism's fault that this wasn't added.
Title: Re: collision_point
Post by: Fede-lasse on January 23, 2011, 06:18:39 AM
I also di-- err, nevermind.
Title: Re: collision_point
Post by: IsmAvatar on January 23, 2011, 11:35:34 PM
r616