If there's no last weapon, or it's the same as the active weapon, switch to the next largest weapon instead. Never don't switch weapons unless the player has no backups available.
Rename the solution file to avoid people thinking the 2005 bit means that they need VS 2005 to build the game.