1
0
فهرست منبع

去掉空判断

chensongchao 6 سال پیش
والد
کامیت
a48cc754b0
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  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;