[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, 18 Sep 2004 08:10:57 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/09/18 12:04:29
Modified files:
src : unit_display.cpp
Log message:
Remove dead code.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/unit_display.cpp.diff?tr1=1.34&tr2=1.35&r1=text&r2=text
Patches:
Index: wesnoth/src/unit_display.cpp
diff -u wesnoth/src/unit_display.cpp:1.34 wesnoth/src/unit_display.cpp:1.35
--- wesnoth/src/unit_display.cpp:1.34 Sat Sep 18 11:22:51 2004
+++ wesnoth/src/unit_display.cpp Sat Sep 18 12:04:28 2004
@@ -93,9 +93,6 @@
xsrc = disp.get_location_x(a);
ysrc = disp.get_location_y(a);
- xdst = disp.get_location_x(b);
- ydst = disp.get_location_y(b);
-
int xloc = xsrc + int(xstep * i);
int yloc = ysrc + int(ystep * i);
@@ -108,10 +105,8 @@
disp.scroll_to_tile(b.x,b.y,display::WARP);
xsrc = disp.get_location_x(a);
ysrc = disp.get_location_y(a);
- xdst = disp.get_location_x(b);
- ydst = disp.get_location_y(b);
- xloc = xsrc + int(xstep*i);
- yloc = ysrc + int(ystep*i);
+ xloc = xsrc + int(xstep * i);
+ yloc = ysrc + int(ystep * i);
}
//invalidate the source tile and all adjacent tiles,
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/12
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/18
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/18
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/18
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp,
Guillaume Melquiond <=
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/18
- [Wesnoth-cvs-commits] wesnoth/src unit_display.cpp, Guillaume Melquiond, 2004/09/19