From 0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 14:30:20 +0300 Subject: Add strong typed int type BeingId. --- src/gui/viewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/viewport.cpp') diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 196ac5d1c..e0ffd732f 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -920,7 +920,7 @@ void Viewport::moveCamera(const int dx, const int dy) mCameraRelativeY += dy; } -void Viewport::moveCameraToActor(const int actorId, +void Viewport::moveCameraToActor(const BeingId actorId, const int x, const int y) { if (!localPlayer || !actorManager) -- cgit v1.2.3-70-g09d2