nightmareci / HeborisCE

Cross-platform Expansion (C.E.) and continuation of Heboris U.E. using modern technology and development approach
36 stars 5 forks source link

Pause doesn't actually pause the timer, it seems. #22

Closed zaphod77 closed 1 year ago

zaphod77 commented 1 year ago

https://github.com/nightmareci/HeborisC7EX-SDL2/blob/3de3269b17485bc29f6de95f2cc987649a4d2322/src/game/gamestart.c#L3434

note that nowhere in here is timeOn messed with, which is the variable that controls whether gametime (used for torikans) is.

timeOn needs to be set to 0 when paused if it was 1, and set back to 1 when unpausing.