diff options
Diffstat (limited to 'ui/editNetwork.cpp')
-rw-r--r-- | ui/editNetwork.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/editNetwork.cpp b/ui/editNetwork.cpp index 754053b..7fbde32 100644 --- a/ui/editNetwork.cpp +++ b/ui/editNetwork.cpp @@ -22,7 +22,7 @@ EditNetwork::EditNetwork(Network * n) : } bool -EditNetwork::click(const SDL_MouseButtonEvent & e, const Ray & ray) +EditNetwork::click(const SDL_MouseButtonEvent & e, const Ray<GlobalPosition3D> & ray) { if (builder && (e.button == SDL_BUTTON_LEFT || e.button == SDL_BUTTON_MIDDLE)) { builder->click(network, gameState->geoData.get(), e, ray); @@ -32,7 +32,7 @@ EditNetwork::click(const SDL_MouseButtonEvent & e, const Ray & ray) } bool -EditNetwork::move(const SDL_MouseMotionEvent & e, const Ray & ray) +EditNetwork::move(const SDL_MouseMotionEvent & e, const Ray<GlobalPosition3D> & ray) { if (builder) { builder->move(network, gameState->geoData.get(), e, ray); |