>>772
assert( dynamic_cast<CEnemy*>(task) );