Author: mordante
Date: Thu Aug 21 12:50:10 2008
New Revision: 28823
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28823&view=rev
Log:
Comment out an unused parameter and remove an unused one.
Modified:
trunk/src/editor2/action.cpp
trunk/src/editor2/editor_display.cpp
Modified: trunk/src/editor2/action.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/action.cpp?rev=28823&r1=28822&r2=28823&view=diff
==============================================================================
--- trunk/src/editor2/action.cpp (original)
+++ trunk/src/editor2/action.cpp Thu Aug 21 12:50:10 2008
@@ -89,7 +89,7 @@
{
area_.insert(locs.begin(), locs.end());
}
-void editor_action_area::extend(const editor_map& map, const
std::set<gamemap::location>& locs)
+void editor_action_area::extend(const editor_map& /*map*/, const
std::set<gamemap::location>& locs)
{
area_.insert(locs.begin(), locs.end());
}
Modified: trunk/src/editor2/editor_display.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_display.cpp?rev=28823&r1=28822&r2=28823&view=diff
==============================================================================
--- trunk/src/editor2/editor_display.cpp (original)
+++ trunk/src/editor2/editor_display.cpp Thu Aug 21 12:50:10 2008
@@ -78,7 +78,6 @@
void editor_display::draw_hex(const gamemap::location& loc)
{
const bool on_map = map_.on_board(loc);
- const bool is_shrouded = shrouded(loc);
int xpos = get_location_x(loc);
int ypos = get_location_y(loc);
int drawing_order = gamemap::get_drawing_order(loc);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits