From: Ricardo Cruz Date: Fri, 6 Aug 2004 17:37:56 +0000 (+0000) Subject: Replaced insert() by this cleaner way to add entries. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=700524117b504a0b8aff31a128273501dae3b693;p=supertux.git Replaced insert() by this cleaner way to add entries. SVN-Revision: 1717 --- diff --git a/src/tile_manager.cpp b/src/tile_manager.cpp index 47b4cc273..49336e27b 100644 --- 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) {