Made the WTVR coolign only for teh H2/O2 reaction (To keep save compatavbility)

This commit is contained in:
Bryan Hoyle 2011-08-12 12:18:41 -04:00
parent 345c183ee3
commit acebad0744
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ int update_PYRO(UPDATE_FUNC_ARGS) {
t = PT_DSTW;
part_change_type(i,x,y,t);
parts[i].life = 0;
parts[i].ctype = PT_FIRE;
}
else if (parts[i].temp<625)
{

View File

@ -15,7 +15,7 @@ int update_WTRV(UPDATE_FUNC_ARGS) {
parts[i].life = 4;
}
}
if(parts[i].temp>1273)
if(parts[i].temp>1273&&parts[i].ctype==PT_FIRE)
parts[i].temp-=parts[i].temp/1000;
return 0;
}