1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix issues with light of attached CAOs

This commit is contained in:
RealBadAngel 2015-07-23 04:35:13 +02:00
parent 4eacce5e2f
commit 1e0e85f82e
3 changed files with 27 additions and 6 deletions

View file

@ -54,6 +54,7 @@ public:
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 core::aabbox3d<f32>* getSelectionBox(){return NULL;}
virtual bool getCollisionBox(aabb3f *toset){return false;}