fixed bug when the vehicle in multithreaded mode

also added more work on the tank vehicles