Removed unused variable.

This commit is contained in:
Lukas Tönne 2014-10-28 17:09:45 +01:00
parent 09f171c525
commit 34762de38f
2 changed files with 1 additions and 2 deletions

View File

@ -145,7 +145,7 @@ typedef struct ParticleThreadContext {
float maxweight;
int *index, *skip, jitlevel;
int from, cfrom, distr;
int cfrom, distr;
struct ParticleData *tpars;

View File

@ -1080,7 +1080,6 @@ static int psys_thread_context_init_distribute(ParticleThreadContext *ctx, Parti
ctx->jitoff= jitter_offset;
ctx->weight= element_weight;
ctx->maxweight= maxweight;
ctx->from= (children) ? PART_FROM_CHILD : from;
ctx->cfrom= cfrom;
ctx->distr= distr;
ctx->dm= dm;