diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8ab0f0ac7..ba9f5fb8d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/main/render.c b/main/render.c index e395cd25b..32eb979d1 100644 --- a/main/render.c +++ b/main/render.c @@ -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