aboutsummaryrefslogtreecommitdiff
path: root/src/clouds.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-08-17 20:23:54 +0200
committerGitHub <noreply@github.com>2017-08-17 20:23:54 +0200
commitc738d1eeabbbe9164a25f6b69bc7ec1a3b44b051 (patch)
tree6a7c153cd4e1f468c627ab5811e76fc7c77f9a44 /src/clouds.h
parent9bd18874a14774f2585955719b77f8894d6e6618 (diff)
downloadminetest-c738d1eeabbbe9164a25f6b69bc7ec1a3b44b051.tar.xz
clientobject, clouds, collision, clientsimpleobject: code modernization (#6260)
* clientobject, clouds, collision, clientsimpleobject: code modernization * use range-based for loops * simplify some tests * various code style fixes * use emplace_back instead of push_back when necessary * use auto on some iterators * use default operator when needed * unroll v3s16 creation on collisionMoveSimple
Diffstat (limited to 'src/clouds.h')
-rw-r--r--src/clouds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clouds.h b/src/clouds.h
index b8d292c3b..78d88a02b 100644
--- a/src/clouds.h
+++ b/src/clouds.h
@@ -74,7 +74,7 @@ public:
void update(const v3f &camera_p, const video::SColorf &color);
- void updateCameraOffset(v3s16 camera_offset)
+ void updateCameraOffset(const v3s16 &camera_offset)
{
m_camera_offset = camera_offset;
updateBox();