Replaced hard coded card type ints with variables, small fix.