Browse Source

去掉空判断

chensongchao 6 years ago
parent
commit
a48cc754b0
1 changed files with 0 additions and 4 deletions
  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;