Definition of dynlight_time should have been static to archive timed light calculations
This commit is contained in:
parent
96c6458eb8
commit
425eef904d
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20110607
|
||||
--------
|
||||
main/render.c: Definition of dynlight_time should have been static to archive timed light calculations
|
||||
|
||||
20110606
|
||||
--------
|
||||
main/menu.c, main/playsave.c: For all filename strings use PATH_MAX as size, make sure they are inited correctly and only fill them with snprintf instead of sprintf
|
||||
|
|
|
@ -1668,7 +1668,7 @@ done_list:
|
|||
void render_mine(int start_seg_num,fix eye_offset)
|
||||
{
|
||||
int nn;
|
||||
fix64 dynlight_time = 0;
|
||||
static fix64 dynlight_time = 0;
|
||||
|
||||
//moved 9/2/98 by Victor Rachels to remove warning/unused var
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Reference in a new issue