The TORCS Racing Board
Username: Password: Remember Me?
Lost Password Register
Author: dummy | Created: 2017-03-21 13:39:53
Subject: Drive through penalty
When I get a drive through penalty and drive through the pits, the red message on screen is correctly confirming that the penalty is cleared. However the penalty list is not cleared and the blue message stays on the screen.

Last Edited: 2017-03-21 13:40:22 by dummy
    Author: firechief | Created: 2017-03-21 14:45:04
    Subject: Re: Drive through penalty
    That implies you're generating more than one drive-through penalty - maybe in the drive-through you're speeding in the pit lane? In my testing it clears properly.
    Last Edited: 2017-03-21 14:45:04 by firechief
      Author: dummy | Created: 2017-03-21 15:40:37
      Subject: Re: Drive through penalty
      Thanks Andrew. I'm lazy and only wanted to know that it works with your implementation. I suspected that there must be something wrong in my code. Oh well, I hate my pit code, it's a total mess :)

      EDIT: It's working here now as well! What's confusing is that the blue text "Drive Through Penalty" stays there after driving through. Shouldn't it be cleared?
      Last Edited: 2017-03-21 16:51:02 by dummy