projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More -Weffc++ cleanup, almost done
[supertux.git]
/
src
/
supertux
/
tile_set.cpp
diff --git
a/src/supertux/tile_set.cpp
b/src/supertux/tile_set.cpp
index
a96436d
..
74a8fd6
100644
(file)
--- a/
src/supertux/tile_set.cpp
+++ b/
src/supertux/tile_set.cpp
@@
-25,15
+25,17
@@
TileSet::TileSet() :
tiles(),
TileSet::TileSet() :
tiles(),
- tiles_path(
""
),
+ tiles_path(),
tiles_loaded(false)
{
tiles.resize(1, 0);
tiles[0] = new Tile(this);
}
tiles_loaded(false)
{
tiles.resize(1, 0);
tiles[0] = new Tile(this);
}
-TileSet::TileSet(const std::string& filename)
- : tiles_path(""), tiles_loaded(true)
+TileSet::TileSet(const std::string& filename) :
+ tiles(),
+ tiles_path(),
+ tiles_loaded(true)
{
tiles_path = FileSystem::dirname(filename);
{
tiles_path = FileSystem::dirname(filename);