[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src unit_display.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src unit_display.cpp |
Date: |
Sat, 04 Dec 2004 09:56:56 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/12/04 14:50:20
Modified files:
src : unit_display.cpp
Log message:
Remove unused parameter.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/unit_display.cpp.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
Patches:
Index: wesnoth/src/unit_display.cpp
diff -u wesnoth/src/unit_display.cpp:1.41 wesnoth/src/unit_display.cpp:1.42
--- wesnoth/src/unit_display.cpp:1.41 Sat Dec 4 14:25:12 2004
+++ wesnoth/src/unit_display.cpp Sat Dec 4 14:50:20 2004
@@ -302,9 +302,9 @@
namespace {
-bool unit_attack_ranged(display& disp, unit_map& units, const gamemap& map,
- const gamemap::location& a, const gamemap::location&
b, int damage,
- const attack_type& attack)
+bool unit_attack_ranged(display& disp, unit_map& units,
+ const gamemap::location& a, const gamemap::location& b,
+ int damage, const attack_type& attack)
{
const bool hide = disp.update_locked() || disp.fogged(a.x,a.y) &&
disp.fogged(b.x,b.y)
|| preferences::show_combat() == false;
@@ -644,7 +644,7 @@
}
if(attack.range() == attack_type::LONG_RANGE) {
- return unit_attack_ranged(disp,units,map,a,b,damage,attack);
+ return unit_attack_ranged(disp, units, a, b, damage, attack);
}
unit_animation attack_anim = attack.animation();