aboutsummaryrefslogtreecommitdiff
path: root/src/tools/map_extractor
diff options
context:
space:
mode:
authorr00ty-tc <r00ty-tc@users.noreply.github.com>2016-05-11 10:51:15 +0100
committerr00ty-tc <r00ty-tc@users.noreply.github.com>2016-05-11 11:56:25 +0200
commitde918a0f644794beebff2234b53980b577b27e39 (patch)
tree54d21dce2d9014bf39380958f8c172a1f316a0ae /src/tools/map_extractor
parent7e48a023989e50920fe2e115cb57d25095071a17 (diff)
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
Diffstat (limited to 'src/tools/map_extractor')
-rw-r--r--src/tools/map_extractor/System.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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");