From a8d4e827d23110e978319a2a6d7f036d16c7f66a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 23 Apr 2016 17:13:07 -0400 Subject: TITANIC: Correct coordinates in CPetQuit setup --- engines/titanic/pet_control/pet_quit.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/titanic/pet_control') diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp index c191e30ceb..7dcaba895c 100644 --- a/engines/titanic/pet_control/pet_quit.cpp +++ b/engines/titanic/pet_control/pet_quit.cpp @@ -30,14 +30,15 @@ namespace Titanic { bool CPetQuit::setup(CPetControl *petControl, CPetGlyphs *owner) { CPetGlyph::setup(petControl, owner); + Rect tempRect(0, 0, 280, 16); - tempRect.moveTo(32, 407); + tempRect.moveTo(322, 407); _text.setBounds(tempRect); _text.resize(3); _text.setHasBorder(true); _text.setup(); - Rect btnRect(0, 0, 496, 388); + Rect btnRect(0, 0, 68, 52); btnRect.moveTo(496, 388); _btnYes.setBounds(btnRect); @@ -62,7 +63,7 @@ bool CPetQuit::reset() { } void CPetQuit::draw2(CScreenManager *screenManager) { -// _text.draw(screenManager); + _text.draw(screenManager); _btnYes.draw(screenManager); } -- cgit v1.2.3