TPT: Volume from heat change (for REALISTIC) 290cac8b7e
This commit is contained in:
parent
d03a9c8fe5
commit
add4ccb034
@ -2622,6 +2622,10 @@ void Simulation::update_particles_i(int start, int inc)
|
||||
c_heat = restrict_flt(c_heat, -MAX_TEMP+MIN_TEMP, MAX_TEMP-MIN_TEMP);
|
||||
parts[i].temp += c_heat;
|
||||
hv[y/CELL][x/CELL] -= c_heat;
|
||||
#ifdef REALISTIC
|
||||
//Volume increase from heat (temporary)
|
||||
pv[y/CELL][x/CELL] -= c_heat*0.004;
|
||||
#endif
|
||||
}
|
||||
c_heat = 0.0f;
|
||||
for (j=0; j<8; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user