There were two plays in the fourth quarter that helped N.C. State football beat Louisville at Carter-Finley Stadium.