diff options
Diffstat (limited to 'src/client/clientobject.h')
-rw-r--r-- | src/client/clientobject.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/client/clientobject.h b/src/client/clientobject.h index 12e0db35b..ecd8059ef 100644 --- a/src/client/clientobject.h +++ b/src/client/clientobject.h @@ -41,10 +41,9 @@ public: virtual void addToScene(ITextureSource *tsrc) {} virtual void removeFromScene(bool permanent) {} - // 0 <= light_at_pos <= LIGHT_SUN - virtual void updateLight(u8 light_at_pos) {} - virtual void updateLightNoCheck(u8 light_at_pos) {} - virtual v3s16 getLightPosition() { return v3s16(0, 0, 0); } + + virtual void updateLight(u32 day_night_ratio) {} + virtual bool getCollisionBox(aabb3f *toset) const { return false; } virtual bool getSelectionBox(aabb3f *toset) const { return false; } virtual bool collideWithObjects() const { return false; } |