summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-08 19:59:28 -0700
committerIra Rice <irarice@gmail.com>2009-02-08 19:59:28 -0700
commit40edf4e91558cffd83d9015a2cf4a16360e27855 (patch)
tree7e0f53ab1c82f694412a94856fc2a9ba05d87370 /src/gui/viewport.cpp
parent450edb5900a46ada0cc6292f0079a31ea5d04573 (diff)
downloadmana-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.gz
mana-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.bz2
mana-40edf4e91558cffd83d9015a2cf4a16360e27855.tar.xz
mana-40edf4e91558cffd83d9015a2cf4a16360e27855.zip
Mostly fixed a few field values to behave better in Windows, as well as
removed the need for sending graphics to the setSpeech function (since it isn't needed) and started actually using the time variable which it's passed (could be set to show the speech longer if the dialog is longer, for example). Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 25e69c43..19e9a4fb 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -207,7 +207,7 @@ void Viewport::draw(gcn::Graphics *gcnGraphics)
Beings &beings = beingManager->getAll();
for (BeingIterator i = beings.begin(); i != beings.end(); i++)
{
- (*i)->drawSpeech(graphics, -(int) mPixelViewX, -(int) mPixelViewY);
+ (*i)->drawSpeech(-(int) mPixelViewX, -(int) mPixelViewY);
(*i)->drawEmotion(graphics, -(int) mPixelViewX, -(int) mPixelViewY);
}