From de918a0f644794beebff2234b53980b577b27e39 Mon Sep 17 00:00:00 2001 From: r00ty-tc Date: Wed, 11 May 2016 10:51:15 +0100 Subject: Core/Maps - Improvements to Cinematic function - Moves to own class for reading, storage and player subclass - Proper destruction handling for player (ensure cinematic is ended) - Timeout for cinematic if it reaches past the end without completing - boost::filesystem::path used for path/filename transform - Correct for assert trigger under certain circumstances - Other changes previously suggested --- src/tools/map_extractor/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/map_extractor') diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index 1d84fc75d27..9d3dc47bce0 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -1041,7 +1041,7 @@ void ExtractCameraFiles(int locale, bool basicLocale) std::vector camerafiles; size_t cam_count = camdbc.getRecordCount(); - for (uint32 i = 0; i < cam_count; ++i) + for (size_t i = 0; i < cam_count; ++i) { std::string camFile(camdbc.getRecord(i).getString(1)); size_t loc = camFile.find(".mdx"); -- cgit v1.2.3