-/*
- * ColorFade.cpp
- *
- * Created on: Oct 7, 2012
- * Author: holy
- */
-
#include "ColorFade.h"
#include "../app/Application.h"
, leadInDone(true)
, fadeDone(false)
, in(in)
-, interactive(interactive) {
+, interactive(interactive)
+, doublePop(false) {
}
timer = GraphicsTimers().StartCountdown(leadOut);
} else {
Ctrl().PopState();
+ if (doublePop) {
+ Ctrl().PopState();
+ }
}
} else {
Ctrl().PopState();
+ if (doublePop) {
+ Ctrl().PopState();
+ }
}
}
}
-void ColorFade::UpdateWorld(float deltaT) {
+void ColorFade::UpdateWorld(Uint32 deltaT) {
if (interactive) {
slave->UpdateWorld(deltaT);
}