diff options
author | Gregory Montoir | 2004-10-08 19:58:49 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-10-08 19:58:49 +0000 |
commit | 43a62296cdcbab2ea46bdc9534e6f1d6bcd2a5a3 (patch) | |
tree | ed51717e102789dfa71daf115a2ee878b8260151 /saga/actor.h | |
parent | 648b7b1e57411998f27f814c252748479e3738a3 (diff) | |
download | scummvm-rg350-43a62296cdcbab2ea46bdc9534e6f1d6bcd2a5a3.tar.gz scummvm-rg350-43a62296cdcbab2ea46bdc9534e6f1d6bcd2a5a3.tar.bz2 scummvm-rg350-43a62296cdcbab2ea46bdc9534e6f1d6bcd2a5a3.zip |
pass arguments by reference-to-const rather than by value, it's usually more efficient...
svn-id: r15477
Diffstat (limited to 'saga/actor.h')
-rw-r--r-- | saga/actor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/actor.h b/saga/actor.h index e2141a77c5..d4cf8c173b 100644 --- a/saga/actor.h +++ b/saga/actor.h @@ -199,10 +199,10 @@ class Actor { int AtoS(Point *logical, const Point *actor); int StoA(Point *actor, const Point screen); - int move(int index, Point *move_pt); - int moveRelative(int index, Point *move_pt); + int move(int index, const Point *move_pt); + int moveRelative(int index, const Point *move_pt); - int walkTo(int index, Point *walk_pt, uint16 flags, R_SEMAPHORE *sem); + int walkTo(int index, const Point *walk_pt, uint16 flags, R_SEMAPHORE *sem); int getActorIndex(uint16 actor_id); |