Commit 3eda8ed1 authored by argon.sun's avatar argon.sun

fix

parent 5a6295c5
...@@ -1618,8 +1618,13 @@ int DuelClient::ClientAnalyze(char* msg, unsigned int len) { ...@@ -1618,8 +1618,13 @@ int DuelClient::ClientAnalyze(char* msg, unsigned int len) {
pcard->chValue = 0; pcard->chValue = 0;
if((pl & LOCATION_ONFIELD) && (cl != pl)) if((pl & LOCATION_ONFIELD) && (cl != pl))
pcard->counters.clear(); pcard->counters.clear();
if(cl != pl) if(cl != pl) {
pcard->ClearTarget(); pcard->ClearTarget();
if(pcard->equipTarget) {
pcard->equipTarget->equipped.erase(pcard);
pcard->equipTarget = 0;
}
}
pcard->is_showequip = false; pcard->is_showequip = false;
pcard->is_showtarget = false; pcard->is_showtarget = false;
mainGame->gMutex.Lock(); mainGame->gMutex.Lock();
......
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