forked from Mirrors/openclonk
Materials: Remove unused MGranite
parent
6d3feabe69
commit
d0e7beee1a
|
@ -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; }
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue