now correctly fix the compile error for MS C++
This commit is contained in:
parent
75b3c0b62c
commit
14f62bb39b
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ void gamemap::read(const std::string& data, const tborder border_tiles, const tu
|
|||
throw incorrect_format_exception(msg.c_str());
|
||||
}
|
||||
|
||||
map = std::string(data, 0, header_offset + 2);
|
||||
map = std::string(data, header_offset + 2, std::string::npos);
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue