Commit 5816d513 authored by salix5's avatar salix5

fix

parent 7d3de646
......@@ -940,7 +940,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
// color
if(conti_selecting)
mainGame->stCardPos[i]->setBackgroundColor(0xffffffff);
if(selectable_cards[i + pos]->location == LOCATION_OVERLAY) {
else if(selectable_cards[i + pos]->location == LOCATION_OVERLAY) {
if(selectable_cards[i + pos]->owner != selectable_cards[i + pos]->overlayTarget->controler)
mainGame->stCardPos[i]->setOverrideColor(0xff0000ff);
if(selectable_cards[i + pos]->is_selected)
......
Subproject commit 7a6bc6c7bb8a1d9512f823781ed2ce6c62d9eb32
Subproject commit 3e54309aff9f9ab32a52e72e76427d19aa5b84c7
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment