Touch/mouse support for storyflow.

This commit is contained in:
Xawotihs
2011-09-17 21:27:36 +00:00
parent c96d2fea55
commit c5203a9caf
2 changed files with 6 additions and 2 deletions

View File

@@ -501,7 +501,6 @@ void StoryDialog::Update(float dt)
void StoryDialog::RenderElement(StoryDialogElement * elmt)
{
float mYBackup = elmt->mY;
if (!elmt->mY) elmt->mY = currentY;
if (elmt->mY == -1)
{
@@ -510,7 +509,6 @@ void StoryDialog::RenderElement(StoryDialogElement * elmt)
elmt->Render();
previousY = currentY;
currentY = elmt->mY + elmt->getHeight() + LINE_SPACE;
elmt->mY = mYBackup;
}
void StoryDialog::Render()