Fixed forgotten MALLOC in g3_draw_morphing_model crashing game when rendering morphing robot (created from matcen for example)
This commit is contained in:
parent
49649ab697
commit
b3329c6c86
|
@ -359,6 +359,8 @@ bool g3_draw_morphing_model(void *model_ptr,grs_bitmap **model_bitmaps,vms_angve
|
|||
g3s_uvl morph_uvls[3];
|
||||
int i,ntris;
|
||||
|
||||
MALLOC(lrgb_list, g3s_lrgb, nv);
|
||||
|
||||
//calculate light from surface normal
|
||||
if (glow_num < 0) //no glow
|
||||
{
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20111125
|
||||
--------
|
||||
3d/interp.c: Fixed forgotten MALLOC in g3_draw_morphing_model crashing game when rendering morphing robot (created from matcen for example)
|
||||
|
||||
20111124
|
||||
--------
|
||||
main/collide.c, main/collide.h, main/fireball.c, main/game.c: Smoothed disabling of friendly fire to re-enable splash damage possible when friendly fire is disabled
|
||||
|
|
Loading…
Reference in a new issue