Use split enemy hover-hex image
This commit is contained in:
parent
8d97a1b442
commit
823abf8e14
1 changed files with 4 additions and 2 deletions
|
@ -279,12 +279,14 @@ void game_display::draw_hex(const map_location& loc)
|
|||
}
|
||||
if(loc == attack_indicator_dst_) {
|
||||
drawing_buffer_add( hex_top_layer,
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-enemy.png", image::SCALED_TO_HEX));
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-enemy-top.png", image::SCALED_TO_HEX));
|
||||
drawing_buffer_add(LAYER_MOUSEOVER_BOTTOM,
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-enemy-bottom.png", image::SCALED_TO_HEX));
|
||||
} else {
|
||||
drawing_buffer_add( hex_top_layer,
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-top.png", image::SCALED_TO_HEX));
|
||||
drawing_buffer_add(LAYER_MOUSEOVER_BOTTOM,
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-bottom.png", image::SCALED_TO_HEX));
|
||||
loc, xpos, ypos, image::get_image("misc/hover-hex-bottom.png", image::SCALED_TO_HEX));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue