X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGraphic%2FDecal.cpp;fp=Source%2FGraphic%2FDecal.cpp;h=de3388f75ff191ba08a1169e6896dac837a43648;hb=4690d99d2bec493f809c7065b222eaf18f46df60;hp=a535dee287111b5445cd31c69544da67a0a49e86;hpb=e60cbd7add6123d81b3c35543296449b5d02cbaa;p=lugaru.git diff --git a/Source/Graphic/Decal.cpp b/Source/Graphic/Decal.cpp index a535dee..de3388f 100644 --- a/Source/Graphic/Decal.cpp +++ b/Source/Graphic/Decal.cpp @@ -24,7 +24,7 @@ along with Lugaru. If not, see . Decal::Decal() : position(), - type(0), + type(shadowdecal), opacity(0), rotation(0), alivetime(0), @@ -32,7 +32,7 @@ Decal::Decal() : { } -Decal::Decal(XYZ _position, int _type, float _opacity, float _rotation, float _brightness, int whichx, int whichy, float size, const Terrain& terrain, bool first) : +Decal::Decal(XYZ _position, decal_type _type, float _opacity, float _rotation, float _brightness, int whichx, int whichy, float size, const Terrain& terrain, bool first) : position(_position), type(_type), opacity(_opacity),