Materials: Remove unused MGranite

Maikel de Vries 2011-01-08 18:21:46 +01:00
parent 6d3feabe69
commit d0e7beee1a
2 changed files with 2 additions and 3 deletions

View File

@ -40,7 +40,7 @@
#include <C4Physics.h> // For GravAccel
int32_t MVehic=MNone,MTunnel=MNone,MWater=MNone,MEarth=MNone,MGranite=MNone;
int32_t MVehic=MNone,MTunnel=MNone,MWater=MNone,MEarth=MNone;
BYTE MCVehic=0;
// -------------------------------------- C4MaterialReaction
@ -491,7 +491,6 @@ bool C4MaterialMap::CrossMapMaterials() // Called after load
MVehic = Get("Vehicle"); MCVehic = Mat2PixColDefault(MVehic);
MTunnel = Get("Tunnel");
MWater = Get("Water");
MGranite = Get("Granite");
MEarth = Get(Game.C4S.Landscape.Material);
if ((MVehic==MNone) || (MTunnel==MNone))
{ LogFatal(LoadResStr("IDS_PRC_NOSYSMATS")); return false; }

View File

@ -207,7 +207,7 @@ const int32_t C4M_Flat = 0,
const int32_t MNone = -1;
extern int32_t MVehic,MTunnel,MWater,MEarth,MGranite; // presearched materials
extern int32_t MVehic,MTunnel,MWater,MEarth; // presearched materials
extern BYTE MCVehic; // precalculated material color
inline bool MatValid(int32_t mat)