|
@@ -62,8 +62,8 @@ void area_business_count_checker::on_enter(const std::shared_ptr<area_hover>&a,
|
|
else if (c->is_vehicle())
|
|
else if (c->is_vehicle())
|
|
{
|
|
{
|
|
a->m_area->m_vehicle_count ++ ;
|
|
a->m_area->m_vehicle_count ++ ;
|
|
- printf("Vehicle=%d On Enter Aread=%d! CurVehicleCount=%d,LimitCount=%d, IsEvent=%d \n"
|
|
|
|
- ,c->m_id,a->m_area->m_id, (int)a->m_area->m_vehicle_count , a->m_area->m_limit_vehicle_count,a->m_area->m_event_vehicle_count);
|
|
|
|
|
|
+ //printf("Vehicle=%d On Enter Aread=%d! CurVehicleCount=%d,LimitCount=%d, IsEvent=%d \n"
|
|
|
|
+ // ,c->m_id,a->m_area->m_id, (int)a->m_area->m_vehicle_count , a->m_area->m_limit_vehicle_count,a->m_area->m_event_vehicle_count);
|
|
|
|
|
|
if (a->m_area->m_vehicle_count > a->m_area->m_limit_vehicle_count && !a->m_area->m_event_vehicle_count)
|
|
if (a->m_area->m_vehicle_count > a->m_area->m_limit_vehicle_count && !a->m_area->m_event_vehicle_count)
|
|
{
|
|
{
|