TONY: Converted object passing to use const reference where appropriate.

This should cut down on the number of redunndant creations of temporary objects.
This commit is contained in:
Paul Gilbert 2012-05-13 00:43:02 +10:00
parent 09afc8a1fa
commit 8a88ad861d
14 changed files with 87 additions and 88 deletions

View file

@ -437,7 +437,7 @@ void RMGfxEngine::ItemIrq(uint32 dwItem, int nPattern, int nStatus) {
*/
void RMGfxEngine::SelectLocation(RMPoint ptTonyStart, RMPoint start) {
void RMGfxEngine::SelectLocation(const RMPoint &ptTonyStart, const RMPoint &start) {
#if 0
OPENFILENAME ofn;
char lpszFileName[512];