Explorar o código

去掉空判断

chensongchao %!s(int64=6) %!d(string=hai) anos
pai
achega
a48cc754b0
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      area.cpp

+ 0 - 4
area.cpp

@@ -455,10 +455,6 @@ area_hover::area_hover(const std::shared_ptr<area>&area,const point&pt)
 
 void area_tool::on_point(const std::shared_ptr<card_location_base>& c,const point&pt)
 {
-	if (nullptr == s || nullptr == c)
-	{
-		return;
-	}
 	log_info("on_point...cardid:%d,type:%d",c->m_id,c->m_type);
 	
 	int special_area=-1;