Author: mog
Date: Sun Apr 6 17:59:58 2008
New Revision: 25633
URL: http://svn.gna.org/viewcvs/wesnoth?rev=25633&view=rev
Log:
Fix right mouse button which my other patch broke
Modified:
trunk/src/editor/editor.cpp
Modified: trunk/src/editor/editor.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor/editor.cpp?rev=25633&r1=25632&r2=25633&view=diff
==============================================================================
--- trunk/src/editor/editor.cpp (original)
+++ trunk/src/editor/editor.cpp Sun Apr 6 17:59:58 2008
@@ -1275,12 +1275,7 @@
// Draw with the background terrain on rightclick,
// no matter what operations are wanted with the left button.
//! @todo TODO evaluate if this is what is the smartest thing to do.
- if (DRAW_BASE_TERRAIN) {
- draw_on_mouseover_hexes(palette_.selected_bg_terrain(), true);
- }
- else {
- draw_on_mouseover_hexes(palette_.selected_bg_terrain());
- }
+ draw_on_mouseover_hexes(palette_.selected_bg_terrain());
}
void map_editor::middle_button_down(const int mousex, const int mousey) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits