TSAGE: R2R - Fix CID 1063348

This commit is contained in:
Strangerke 2013-08-21 20:37:38 +02:00
parent cca4e41bf1
commit bc4e4ec9b8
2 changed files with 6 additions and 0 deletions

View File

@ -4822,6 +4822,11 @@ void Scene400::dispatch() {
*
*--------------------------------------------------------------------------*/
Scene500::PanelDialog::Button::Button() {
_buttonId = 0;
_buttonDown = false;
}
bool Scene500::ControlPanel::startAction(CursorType action, Event &event) {
Scene500 *scene = (Scene500 *)R2_GLOBALS._sceneManager._scene;

View File

@ -533,6 +533,7 @@ class Scene500: public SceneExt {
void doButtonPress();
public:
Button();
virtual Common::String getClassName() { return "Scene500_Button"; }
virtual void process(Event &event);
virtual bool startAction(CursorType action, Event &event);