Oldham Athletic scored a 90th-minute penalty to secure a vital point at fellow strugglers Wycombe.
The visitors went ahead in the first half through a 25-yard Filipe Morais effort, which went in off the post.
Three minutes later, Stuart Beavon chipped Wycombe level and the hosts then went in front when Joel Grant fired home from inside the box.
Grant Basey missed a penalty to put the hosts further ahead, before Robbie Simpson's dramatic late spot-kick.
VIEW FROM THE DRESSING ROOM
Oldham manager Paul Dickov told BBC Radio Manchester:
"When you come away from home, you're 2-1 down in the 89th minute and you get a result out of it, you have to be really happy.
"But I'm also disappointed because we went 1-0 up and we were playing with confidence.
"One bizarre moment from three of our players has cost us.
"I couldn't see Wycombe scoring in the first half but it gave them the lift that they needed."