mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Fix structs being declared as classes
Some compilers complain when a class is declared as a struct or vice versa. Fix by making sure that the correct tag is used both in declaration and definition.
This commit is contained in:
parent
4d0f227c70
commit
96c30452f9
@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include <IAnimatedMesh.h>
|
||||
|
||||
class LocalPlayer;
|
||||
class MapDrawControl;
|
||||
struct MapDrawControl;
|
||||
class ExtrudedSpriteSceneNode;
|
||||
class IGameDef;
|
||||
|
||||
|
@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
class ServerActiveObject;
|
||||
class ServerEnvironment;
|
||||
class PointedThing;
|
||||
struct PointedThing;
|
||||
class ITextureSource;
|
||||
class IGameDef;
|
||||
|
||||
|
@ -93,7 +93,7 @@ struct DiggingProperties
|
||||
u16 wear;
|
||||
};
|
||||
|
||||
class ToolDiggingProperties;
|
||||
struct ToolDiggingProperties;
|
||||
class INodeDefManager;
|
||||
|
||||
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,
|
||||
|
Loading…
Reference in New Issue
Block a user