summaryrefslogtreecommitdiffhomepage
path: root/src/light.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-04 13:14:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-04 13:14:25 +0100
commit22c0347382db21803cbeaf599a473b1d13b009a3 (patch)
treee700d33fa247600f69d2016405109aabae15ab71 /src/light.cpp
parentf8af6aadbf67bd2ff459d3e8fb09364342a8d080 (diff)
b
Diffstat (limited to 'src/light.cpp')
-rw-r--r--src/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/light.cpp b/src/light.cpp
index ec4a5cb1..878a5f19 100644
--- a/src/light.cpp
+++ b/src/light.cpp
@@ -17,7 +17,7 @@ light_proto& light_proto::operator=(const light_proto&) = default;
light_proto::~light_proto() noexcept = default;
bool light_proto::operator==(const light_proto&) const = default;
-light::light(object_id id, struct chunk& c, const light_proto& proto) :
+light::light(object_id id, class chunk& c, const light_proto& proto) :
object{id, c, proto},
max_distance{proto.max_distance},
color{proto.color},