Skip to content

Commit decf72b

Browse files
committed
Update MapLoaderPrivate.cpp
fix for tile info not properly being cleared between map changes
1 parent cb761f6 commit decf72b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/MapLoaderPrivate.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ using namespace tmx;
3737
void MapLoader::m_Unload()
3838
{
3939
m_tilesetTextures.clear();
40+
m_tileInfo.clear();
4041
m_layers.clear();
4142
m_imageLayerTextures.clear();
4243
m_mapLoaded = false;
@@ -1083,7 +1084,7 @@ sf::Image& MapLoader::m_LoadImage(const std::string& imageName)
10831084
/*
10841085
base64.cpp and base64.h
10851086
1086-
Copyright (C) 2004-2008 René Nyffenegger
1087+
Copyright (C) 2004-2008 Ren� Nyffenegger
10871088
10881089
This source code is provided 'as-is', without any express or implied
10891090
warranty. In no event will the author be held liable for any damages
@@ -1103,7 +1104,7 @@ sf::Image& MapLoader::m_LoadImage(const std::string& imageName)
11031104
11041105
3. This notice may not be removed or altered from any source distribution.
11051106
1106-
René Nyffenegger [email protected]
1107+
Ren� Nyffenegger [email protected]
11071108
11081109
*/
11091110

0 commit comments

Comments
 (0)