remove a redundant assignment

This commit is contained in:
chinhodado 2014-02-22 23:08:26 -05:00
parent 9ba79f31a2
commit 9bd07d4c9c

View File

@ -76,7 +76,6 @@ void Process(VertexData& vertex, bool hasColor)
float _spot = Dot(-L,dir) / d / dir.Length();
float cutoff = getFloat24(gstate.lcutoff[light]&0xFFFFFF);
if (_spot > cutoff) {
spot = _spot;
float conv = getFloat24(gstate.lconv[light]&0xFFFFFF);
spot = pow(_spot, conv);
} else {