From 9923508ef095b713c509841715f8e7a2f0c4d70c Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sat, 14 May 2011 19:25:16 +0100 Subject: [PATCH] Fix dirtying of tiles in Map::erase_tile --- src/Map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Map.cpp b/src/Map.cpp index ec926d4..de2d0e4 100644 --- a/src/Map.cpp +++ b/src/Map.cpp @@ -1,5 +1,5 @@ // -// Copyright (C) 2009-2010 Nick Gasson +// Copyright (C) 2009-2011 Nick Gasson // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -292,7 +292,7 @@ void Map::erase_tile(int x, int y) for (vector >::iterator it = covers.begin(); it != covers.end(); ++it) { tile_at((*it).x, (*it).y).track.reset(); - dirty_tile(x, y); + dirty_tile((*it).x, (*it).y); } } -- 2.39.2