summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-14 19:08:25 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-14 19:23:28 +0200
commit3591c264f14edf300e7d3ea20577c517a092cf50 (patch)
tree8748986df0943d162f9011b8f0b2115e137a4054 /src/localplayer.cpp
parentc316bd0a9ffdbeb85ea80dc3ca2e731062b45c85 (diff)
downloadmana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.gz
mana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.bz2
mana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.xz
mana-3591c264f14edf300e7d3ea20577c517a092cf50.zip
Fixed alpha to also apply to the main text of a text particle
It was only being applied to the outline and shadow. This improves the fadeout a little, but because the text is being rendered multiple times, it still looks strange.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index c1423190..7119bfc9 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -946,7 +946,8 @@ void LocalPlayer::initTargetCursor()
true, TC_LARGE);
}
-void LocalPlayer::loadTargetCursor(std::string filename, int width, int height,
+void LocalPlayer::loadTargetCursor(const std::string &filename,
+ int width, int height,
bool outRange, TargetCursorSize size)
{
assert(size > -1);