Solved

***
Last edited on
What are you trying to accomplish on line 13? attackerLoses is a function, so you can't compare it to a boolean. Just use the if statement you have on line 11.
The expression "attackerLoses == false" is similar to saying "&attackerLoses == false". It's taking the address of attackerLoses and comparing it to false (0). This will always be false since attackerLoses is a global function that's always defined.
line 72 is doing an assignment, not a comparison

EDIT:

Ugh... I really hate it when people delete their posts after getting their help.

Dick move, OP.... dick move.
Last edited on
Topic archived. No new replies allowed.