summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index b7d9f3acd..7cc25c60c 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -217,7 +217,7 @@ struct MapNode
* @pre f != NULL
* @pre f->param_type == CPT_LIGHT
*/
- u8 getLightNoChecks(LightBank bank, const ContentFeatures *f);
+ u8 getLightNoChecks(LightBank bank, const ContentFeatures *f) const;
bool getLightBanks(u8 &lightday, u8 &lightnight, INodeDefManager *nodemgr) const;