mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01:00
Darkel is bored.
This commit is contained in:
parent
0c34fb1bb2
commit
439f371fc3
@ -34,7 +34,7 @@ int32 CDarkel::CalcFade(uint32 time, int32 start, uint32 end) {
|
|||||||
if (time >= start && time <= end) {
|
if (time >= start && time <= end) {
|
||||||
if (time >= start + 500) {
|
if (time >= start + 500) {
|
||||||
if (time <= end - 500)
|
if (time <= end - 500)
|
||||||
return 0;
|
return 255;
|
||||||
else
|
else
|
||||||
return 255 * (end - time) / 500;
|
return 255 * (end - time) / 500;
|
||||||
}
|
}
|
||||||
@ -55,6 +55,7 @@ void CDarkel::DrawMessages()
|
|||||||
|
|
||||||
switch (Status) {
|
switch (Status) {
|
||||||
case KILLFRENZY_ONGOING:
|
case KILLFRENZY_ONGOING:
|
||||||
|
assert(pStartMessage != nil);
|
||||||
DisplayTimers = true;
|
DisplayTimers = true;
|
||||||
break;
|
break;
|
||||||
case KILLFRENZY_PASSED:
|
case KILLFRENZY_PASSED:
|
||||||
|
Loading…
Reference in New Issue
Block a user