Colorcycling change
Slowed down color cycling to better mimic original Warcraft 2 speed.
This commit is contained in:
parent
3ed9443edd
commit
c2ba0506fc
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ static void ColorCycleSurface_Reverse(SDL_Surface &surface, unsigned int count)
|
|||
void ColorCycle()
|
||||
{
|
||||
/// MACRO defines speed of colorcycling FIXME: should be made configurable
|
||||
#define COLOR_CYCLE_SPEED (CYCLES_PER_SECOND / 4)
|
||||
#define COLOR_CYCLE_SPEED (CYCLES_PER_SECOND * 2)
|
||||
if ((FrameCounter % COLOR_CYCLE_SPEED) != 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue