Author: sapient
Date: Sat Apr 7 05:22:55 2007
New Revision: 16658
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16658&view=rev
Log:
silene's patch #715: Fix incorrect last argument of paths constructor
Modified:
trunk/src/menu_events.cpp
trunk/src/replay.cpp
Modified: trunk/src/menu_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=16658&r1=16657&r2=16658&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Sat Apr 7 05:22:55 2007
@@ -1167,7 +1167,7 @@
const bool teleports =
u->second.get_ability_bool("teleport",u->first);
unit_map units(u->first, u->second);
const paths& path =
paths(map_,status_,gameinfo_,ignore_units?units:units_,
-
u->first,teams_,false,teleports,teams_[gui_->viewing_team()],NULL);
+
u->first,teams_,false,teleports,teams_[gui_->viewing_team()]);
gui_->highlight_another_reach(path);
}
Modified: trunk/src/replay.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/replay.cpp?rev=16658&r1=16657&r2=16658&view=diff
==============================================================================
--- trunk/src/replay.cpp (original)
+++ trunk/src/replay.cpp Sat Apr 7 05:22:55 2007
@@ -889,7 +889,7 @@
const bool teleport =
u->second.get_ability_bool("teleport",u->first);
- paths
paths_list(map,state,gameinfo,units,src,teams,false,teleport,current_team,NULL);
+ paths
paths_list(map,state,gameinfo,units,src,teams,false,teleport,current_team);
std::map<gamemap::location,paths::route>::iterator rt =
paths_list.routes.find(dst);
if(rt == paths_list.routes.end()) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits