dave_gnukem icon indicating copy to clipboard operation
dave_gnukem copied to clipboard

HIGH Possible bullet collision detection bugs in UpdateBullets

Open davidjoffe opened this issue 5 years ago • 0 comments

			// Check if monster bullet overlaps with hero
			if (OVERLAPS(
				HERO_PIXELX,
				// **fixmehigh2019-07 this actually looks like a bug! A possibly imporrant but why not add hero y_offset here!??**
				y*BLOCKH-BLOCKH,// FIXMEHIGH2019-07 WHY NOT HERO_PIXELY which includes the y_offset??

ALSO:

				**// fixme is this +15(BLOCKW-1) right? looks too big .. (dj2019-07)**

davidjoffe avatar Jul 08 '19 05:07 davidjoffe