fixed a bug displaying the illegal warning twice

This commit is contained in:
Splatink
2025-04-16 20:34:52 +03:00
parent 24bd1c8f31
commit 785c974f9b

1
main.c
View File

@@ -392,7 +392,6 @@ void sellItem(int itemPicked)
printf("Sold!\n\n");
if (itemPicked >= 7)
{
printf("You have sold an illegal item. Keep it up and the police might start asking questions");
player.illegalItemsSold++;
}
}