From 425eef904ddbca03d8e7d0ec1f6b49e983ce4a6a Mon Sep 17 00:00:00 2001 From: zicodxx Date: Tue, 7 Jun 2011 17:31:45 +0200 Subject: [PATCH] Definition of dynlight_time should have been static to archive timed light calculations --- CHANGELOG.txt | 4 ++++ main/render.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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