projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79eeba2
)
Replaced insert() by this cleaner way to add entries.
author
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 6 Aug 2004 17:37:56 +0000
(17:37 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 6 Aug 2004 17:37:56 +0000
(17:37 +0000)
SVN-Revision: 1717
src/tile_manager.cpp
patch
|
blob
|
history
diff --git
a/src/tile_manager.cpp
b/src/tile_manager.cpp
index
47b4cc2
..
49336e2
100644
(file)
--- a/
src/tile_manager.cpp
+++ b/
src/tile_manager.cpp
@@
-80,7
+80,7
@@
void TileManager::load_tileset(std::string filename)
continue;
}*/
- tiles
.insert(std::make_pair(tile_id, tile))
;
+ tiles
[tile_id] = tile
;
}
else if (strcmp(lisp_symbol(lisp_car(element)), "tileset") == 0)
{