I Need Help With This Vector Problem 06-09-2019, 01:41 AM
#1
Recently I've been a bit burned out, and I can't seem to figure out this problem I have. It's for a game I had been working on for a side project when I'm bored. The code I'll be showing below is for an infection chance menu. It'll basically just shuffle the integers in the first vector, and then print them to the first if statement. When the integers are first printed it then pushes them into the second vector. It does this so the infection chance isn't selected until a week has passed (In game time). Which means it shouldn't push back new integers to that second vector until the boolean scavengeOpened, is equal to false.
I couldn't post the code in a code box because it destroys the formatting.
[ Redacted my code ]
Sorry if this is a little bit confusing but I couldn't find any help for this specific problem anywhere else.
I couldn't post the code in a code box because it destroys the formatting.
[ Redacted my code ]
Sorry if this is a little bit confusing but I couldn't find any help for this specific problem anywhere else.
(This post was last modified: 06-10-2019, 04:13 AM by Drako.
Edit Reason: Fixed my problem
)