Permalink
Browse files

CRAY(LIGH) defaults to LIGH with .life 30

  • Loading branch information...
jacob1 committed May 6, 2017
1 parent cdc8f64 commit 9b954c7ed5cfa17f03ec49930a1687046a8434ff
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/simulation/Simulation.cpp
@@ -2987,6 +2987,8 @@ int Simulation::create_part(int p, int x, int y, int t, int v)
parts[pmap[y][x]>>8].ctype = t;
if (t == PT_LIFE && v >= 0 && v < NGOL)
parts[pmap[y][x]>>8].ctype |= v<<8;
if (t == PT_LIGH)
parts[pmap[y][x]>>8].ctype |= 30<<8;
parts[pmap[y][x]>>8].temp = elements[t].Temperature;
}
return -1;

0 comments on commit 9b954c7

Please sign in to comment.