This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
1 deletion.
-
+2
−1
src/control/Darkel.cpp
There are no files selected for viewing
|
|
@@ -34,7 +34,7 @@ int32 CDarkel::CalcFade(uint32 time, int32 start, uint32 end) { |
|
|
if (time >= start && time <= end) { |
|
|
if (time >= start + 500) { |
|
|
if (time <= end - 500) |
|
|
return 0; |
|
|
return 255; |
|
|
else |
|
|
return 255 * (end - time) / 500; |
|
|
} |
|
|
@@ -55,6 +55,7 @@ void CDarkel::DrawMessages() |
|
|
|
|
|
switch (Status) { |
|
|
case KILLFRENZY_ONGOING: |
|
|
assert(pStartMessage != nil); |
|
|
DisplayTimers = true; |
|
|
break; |
|
|
case KILLFRENZY_PASSED: |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.