in compute_light_emission() handle RT_NONE for delayed explosion fireballs

This commit is contained in:
zicodxx 2011-06-20 11:30:11 +02:00
parent fa85aa820d
commit ad850557ca
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20110620
--------
main/lighting.c: in compute_light_emission() handle RT_NONE for delayed explosion fireballs
20110617
--------
main/physics.c: By using fixed distance bumping for fix_illegal_wall_intersection making the whole process much more reliable on sharp edges

View file

@ -381,6 +381,8 @@ g3s_lrgb compute_light_emission(int objnum)
switch (obj->render_type)
{
case RT_NONE:
break; // no object - no light
case RT_POLYOBJ:
{
polymodel *po = &Polygon_models[obj->rtype.pobj_info.model_num];