diff --git a/sc2/ChangeLog b/sc2/ChangeLog index ae6844bdc..284dbef8c 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.3: +- Fix colour cycling in the roster screen (bug #279), from Nic - Fixed last seen battle-group teleporting to Sol after invoking Talking Pet in Sol (bug #109) -Alex - Fixed a dialog glitch on Slylandro homeworld (#442) -Michael diff --git a/sc2/src/sc2code/planets/roster.c b/sc2/src/sc2code/planets/roster.c index b3b0c5fea..e09e68d3a 100644 --- a/sc2/src/sc2code/planets/roster.c +++ b/sc2/src/sc2code/planets/roster.c @@ -26,7 +26,7 @@ flash_ship_task(void *data) COLOR c; Task task = (Task) data; - c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24); + c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x00, 0x00), 0x24); TimeIn = GetTimeCounter (); while (!Task_ReadState (task, TASK_EXIT)) { @@ -47,10 +47,10 @@ flash_ship_task(void *data) (HSTARSHIP)pMenuState->CurFrame ); OldContext = SetContext (StatusContext); - if (c == BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24)) - c = BUILD_COLOR (MAKE_RGB15 (0xB, 0x00, 0x00), 0x2E); + if (c >= BUILD_COLOR (MAKE_RGB15 (0x1F, 0x19, 0x19), 0x24)) + c = BUILD_COLOR (MAKE_RGB15 (0x1F, 0x00, 0x00), 0x24); else - c -= BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x14), 0x01); + c += BUILD_COLOR (MAKE_RGB15 (0x00, 0x02, 0x02), 0x00); OldColor = SetContextForeGroundColor (c); DrawFilledStamp (&s); SetContextForeGroundColor (OldColor);