src/gfx.cpp
changeset 7460 46c24d1287cf
parent 7456 0c0636370335
child 7481 699607d457a0
--- a/src/gfx.cpp	Tue Jun 19 15:34:43 2007 +0000
+++ b/src/gfx.cpp	Tue Jun 19 15:40:27 2007 +0000
@@ -663,9 +663,9 @@
 {
 	memcpy(_cur_palette, _palettes[_use_dos_palette ? 1 : 0], sizeof(_cur_palette));
 
+	DoPaletteAnimations();
 	_pal_first_dirty = 0;
 	_pal_count_dirty = 255;
-	DoPaletteAnimations();
 }
 
 #define EXTR(p, q) (((uint16)(_timer_counter * (p)) * (q)) >> 16)