You didn't show us where you define eXtime... You didn't accidentally define it with "const int" setting it as a constant instead of a variable did you? Are you sure that armed ever equals 2?
That's all I got.
You didn't show us where you define eXtime... You didn't accidentally define it with "const int" setting it as a constant instead of a variable did you? Are you sure that armed ever equals 2?
That's all I got.