Author: mordante
Date: Sun Mar 29 22:30:04 2009
New Revision: 34252
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34252&view=rev
Log:
Converted the old style casts to c++ style casts.
Modified:
trunk/src/unit_frame.cpp
Modified: trunk/src/unit_frame.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_frame.cpp?rev=34252&r1=34251&r2=34252&view=diff
==============================================================================
--- trunk/src/unit_frame.cpp (original)
+++ trunk/src/unit_frame.cpp Sun Mar 29 22:30:04 2009
@@ -406,7 +406,7 @@
if(primary) facing_north = true;
game_display::get_singleton()->render_unit_image(x +
current_data.x- image->w/2,
y + current_data.y- image->h/2,
-
(display::tdrawing_layer)(display::LAYER_UNIT_FIRST+current_data.drawing_layer),
+
static_cast<display::tdrawing_layer>(display::LAYER_UNIT_FIRST+current_data.drawing_layer),
src, image, facing_west, false,
ftofxp(current_data.highlight_ratio),
current_data.blend_with,
current_data.blend_ratio,current_data.submerge,!facing_north);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits