From 78e4b50a9ca14a10410bca6661433138892346cb Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 6 Feb 2009 16:31:52 +0000 Subject: Fix [2573054]: idle time not being clamped on level save/load (e.g. SIGHUP or when the game is saved.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8931 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/files.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/files.cc') diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 979498b696..5db2f4294b 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -776,7 +776,7 @@ static void _write_tagged_file( FILE *outf, int fileType, // all other tags for (int i = 1; i < NUM_TAGS; i++) if (tags[i] == 1) - tag_write((tag_type)i, outf); + tag_write(static_cast(i), outf); } bool travel_load_map( branch_type branch, int absdepth ) -- cgit v1.2.3-54-g00ecf