Browse Source

palette_set_color_cycling bin exact

Fixes #271.
pull/88/head
Robin Eklind 7 years ago committed by Anders Jenbo
parent
commit
2877511e96
  1. 3
      Source/palette.cpp
  2. 2
      Source/palette.h

3
Source/palette.cpp

@ -287,7 +287,8 @@ BOOL palette_get_colour_cycling()
return color_cycling_enabled;
}
void palette_set_color_cycling(BOOL enabled)
BOOL palette_set_color_cycling(BOOL enabled)
{
color_cycling_enabled = enabled;
return enabled;
}

2
Source/palette.h

@ -26,7 +26,7 @@ void PaletteFadeOut(int fr);
void palette_update_caves();
void palette_update_quest_palette(int n);
BOOL palette_get_colour_cycling();
void palette_set_color_cycling(BOOL enabled);
BOOL palette_set_color_cycling(BOOL enabled);
/* rdata */

Loading…
Cancel
Save