|
@@ -369,6 +369,7 @@ struct CloserCardFactory : CardFactory
|
|
if(cardid == cid)
|
|
if(cardid == cid)
|
|
return true;
|
|
return true;
|
|
auto npcard = card_list::instance()->get(cardid);
|
|
auto npcard = card_list::instance()->get(cardid);
|
|
|
|
+ if(!npcard) return true;
|
|
if(npcard->type_()!=opcard->type_())
|
|
if(npcard->type_()!=opcard->type_())
|
|
return true;
|
|
return true;
|
|
uint64_t ct1 = npcard->time_();
|
|
uint64_t ct1 = npcard->time_();
|