summaryrefslogtreecommitdiff
path: root/src/game-server/state.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/state.hpp')
-rw-r--r--src/game-server/state.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/state.hpp b/src/game-server/state.hpp
index e08073b7..60e63b0e 100644
--- a/src/game-server/state.hpp
+++ b/src/game-server/state.hpp
@@ -92,12 +92,12 @@ namespace GameState
* Says something to an actor.
* @note passing NULL as source generates a message from "Server:"
*/
- void sayTo(Actor *destination, Actor *source, std::string const &text);
+ void sayTo(Actor *destination, Actor *source, const std::string &text);
/**
* Says something to everything around an actor.
*/
- void sayAround(Actor *, std::string const &text);
+ void sayAround(Actor *, const std::string &text);
/**
* Says something to every player on the server.