Tweaks to zone shutdown code

This commit is contained in:
Akkadius committed 2018-05-12 03:31:47 -05:00
1 parent d43273fd1b
commit eb463eef97
3 files changed
+18 -10

No files matched your search

+2 -3
View File
@@ -131,12 +131,11 @@ void Timer::SetTimer(uint32 set_timer_time) {
uint32 Timer::GetRemainingTime() {
if (enabled) {
if (current_time-start_time > timer_time)
if (current_time - start_time > timer_time)
return 0;
else
return (start_time + timer_time) - current_time;
}
else {
} else {
return 0xFFFFFFFF;
}
}