The revision that does not correct the run-on sentence is:
"The smell of hot dogs and suntan lotion drifted through the air, fireworks crackled overhead. Bob tried to discreetly shake the sand out of his swimming trunks. But failed."
This version still has the two independent clauses ("The smell of hot dogs and suntan lotion drifted through the air" and "fireworks crackled overhead") joined incorrectly without proper punctuation between them, making it a run-on sentence. The "But failed" is also a fragment, failing to connect it properly to the previous sentence.