fixed a bug displaying the illegal warning twice
This commit is contained in:
1
main.c
1
main.c
@@ -392,7 +392,6 @@ void sellItem(int itemPicked)
|
|||||||
printf("Sold!\n\n");
|
printf("Sold!\n\n");
|
||||||
if (itemPicked >= 7)
|
if (itemPicked >= 7)
|
||||||
{
|
{
|
||||||
printf("You have sold an illegal item. Keep it up and the police might start asking questions");
|
|
||||||
player.illegalItemsSold++;
|
player.illegalItemsSold++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user