mirror of
https://github.com/minetest/minetest.git
synced 2024-11-11 02:03:46 +01:00
clientobject.h: Fix code-style
This commit is contained in:
parent
9543b84970
commit
96762af3ce
@ -39,7 +39,7 @@ public:
|
||||
ClientActiveObject(u16 id, Client *client, ClientEnvironment *env);
|
||||
virtual ~ClientActiveObject();
|
||||
|
||||
virtual void addToScene(ITextureSource *tsrc) {};
|
||||
virtual void addToScene(ITextureSource *tsrc) {}
|
||||
virtual void removeFromScene(bool permanent) {}
|
||||
// 0 <= light_at_pos <= LIGHT_SUN
|
||||
virtual void updateLight(u8 light_at_pos) {}
|
||||
@ -80,9 +80,8 @@ public:
|
||||
ClientEnvironment *env);
|
||||
|
||||
// If returns true, punch will not be sent to the server
|
||||
virtual bool directReportPunch(v3f dir, const ItemStack *punchitem=NULL,
|
||||
float time_from_last_punch=1000000)
|
||||
{ return false; }
|
||||
virtual bool directReportPunch(v3f dir, const ItemStack *punchitem = nullptr,
|
||||
float time_from_last_punch = 1000000) { return false; }
|
||||
|
||||
protected:
|
||||
// Used for creating objects based on type
|
||||
|
Loading…
Reference in New Issue
Block a user