Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Darkel is bored.
  • Loading branch information
gennariarmando committed Jul 7, 2019
1 parent 0c34fb1 commit 439f371fc346ca797faf013b4098b52c92a1481e
Showing with 2 additions and 1 deletion.
  1. +2 −1 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:

0 comments on commit 439f371

Please sign in to comment.