Attempt fix for some cases of fast particles going through obstacles

Also change direction_to_map again, to revert to original version
(which has problems with some diagonal surfaces, but doesn't have noticeable inaccuracies)
for refraction.
This commit is contained in:
jacksonmj
2011-01-15 15:11:10 +00:00
parent 0221cdd355
commit 42d7b56602
2 changed files with 221 additions and 180 deletions

View File

@@ -360,6 +360,7 @@ typedef struct part_transition part_transition;
* 100 = Solid ||
* -1 is Neutrons and Photons
*/
// TODO: falldown, properties, state - should at least one of these be removed?
static const part_type ptypes[PT_NUM] =
{
//Name Colour Advec Airdrag Airloss Loss Collid Grav Diffus Hotair Fal Burn Exp Mel Hrd M Weight Section H Ins Description