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:
Giuseppe Bilotta 2011-11-14 18:40:41 +01:00 committed by Perttu Ahola
parent 4d0f227c70
commit 96c30452f9
3 changed files with 3 additions and 3 deletions

@ -29,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <IAnimatedMesh.h> #include <IAnimatedMesh.h>
class LocalPlayer; class LocalPlayer;
class MapDrawControl; struct MapDrawControl;
class ExtrudedSpriteSceneNode; class ExtrudedSpriteSceneNode;
class IGameDef; class IGameDef;

@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class ServerActiveObject; class ServerActiveObject;
class ServerEnvironment; class ServerEnvironment;
class PointedThing; struct PointedThing;
class ITextureSource; class ITextureSource;
class IGameDef; class IGameDef;

@ -93,7 +93,7 @@ struct DiggingProperties
u16 wear; u16 wear;
}; };
class ToolDiggingProperties; struct ToolDiggingProperties;
class INodeDefManager; class INodeDefManager;
DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp, DiggingProperties getDiggingProperties(u16 content, ToolDiggingProperties *tp,