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.
master
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

View File

@ -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;

View File

@ -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;

View File

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