Flagged numerous peices of code that have local variables that are masking either member variables or variables scoped outside the current scope.
I've marked all the ones I found with the following TODO comment: TODO: C6246: <blah blah> a few in particular are the ones related to "oneShot" and "_target". These are local variables that are declared that mask either a method parameter or a member variable.
This commit is contained in:
@@ -1512,7 +1512,7 @@ int GameStateDeckViewer::loadDeck(int deckid)
|
||||
{
|
||||
MTGCard * current = myDeck->getCard(i, true);
|
||||
int howmanyinDeck = myDeck->count(current);
|
||||
for (int i = myCollection->count(current); i < howmanyinDeck; i++)
|
||||
for (int numCardsInCollection = myCollection->count(current); numCardsInCollection < howmanyinDeck; numCardsInCollection++)
|
||||
{
|
||||
bPure = false;
|
||||
if (cheatmode)
|
||||
|
||||
Reference in New Issue
Block a user