summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
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. */