Definition of dynlight_time should have been static to archive timed light calculations

This commit is contained in:
zicodxx 2011-06-07 17:31:45 +02:00
parent 96c6458eb8
commit 425eef904d
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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