summaryrefslogtreecommitdiff
path: root/src/localplayer.h
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 22:12:15 +0200
commit53c32dd1beb5575c38bbc830f7d37cb954be90d2 (patch)
tree66acb3c3fb03e9e08a39520f805c03ade87f6430 /src/localplayer.h
parent2477cc428795d678142bf6f66147790c71ad03fd (diff)
downloadmana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.gz
mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.bz2
mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.tar.xz
mana-53c32dd1beb5575c38bbc830f7d37cb954be90d2.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. (cherry picked from commit 3591c264f14edf300e7d3ea20577c517a092cf50)
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index add5c049..4a85dd75 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -490,7 +490,8 @@ class LocalPlayer : public Player
/**
* Helper function for loading target cursors
*/
- void loadTargetCursor(std::string filename, int width, int height,
+ void loadTargetCursor(const std::string &filename,
+ int width, int height,
bool outRange, Being::TargetCursorSize size);
/** Images of the target cursor. */