in compute_light_emission() handle RT_NONE for delayed explosion fireballs
This commit is contained in:
parent
fa85aa820d
commit
ad850557ca
|
@ -1,5 +1,9 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-Rebirth Changelog
|
||||||
|
|
||||||
|
20110620
|
||||||
|
--------
|
||||||
|
main/lighting.c: in compute_light_emission() handle RT_NONE for delayed explosion fireballs
|
||||||
|
|
||||||
20110617
|
20110617
|
||||||
--------
|
--------
|
||||||
main/physics.c: By using fixed distance bumping for fix_illegal_wall_intersection making the whole process much more reliable on sharp edges
|
main/physics.c: By using fixed distance bumping for fix_illegal_wall_intersection making the whole process much more reliable on sharp edges
|
||||||
|
|
|
@ -381,6 +381,8 @@ g3s_lrgb compute_light_emission(int objnum)
|
||||||
|
|
||||||
switch (obj->render_type)
|
switch (obj->render_type)
|
||||||
{
|
{
|
||||||
|
case RT_NONE:
|
||||||
|
break; // no object - no light
|
||||||
case RT_POLYOBJ:
|
case RT_POLYOBJ:
|
||||||
{
|
{
|
||||||
polymodel *po = &Polygon_models[obj->rtype.pobj_info.model_num];
|
polymodel *po = &Polygon_models[obj->rtype.pobj_info.model_num];
|
||||||
|
|
Loading…
Reference in a new issue