summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/Darkel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp
index ab55c4d4..f050a540 100644
--- a/src/control/Darkel.cpp
+++ b/src/control/Darkel.cpp
@@ -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: