fixed indention

This commit is contained in:
Felix Wallin
2010-10-02 19:45:55 +02:00
parent ad3fa82329
commit b7f8fd4ba6
2 changed files with 323 additions and 318 deletions

View File

@@ -70,8 +70,13 @@ int try_move(int i, int x, int y, int nx, int ny)
return 1; return 1;
e = eval_move(parts[i].type, nx, ny, &r); e = eval_move(parts[i].type, nx, ny, &r);
if(!e) if(!e) {
if(!legacy_enable) {
if((r >> 8) < PT_NUM)
| parts[r>>8].temp = restrict_flt(parts[r>>8].temp+parts[i].temp/2, MIN_TEMP, MAX_TEMP);;
}
return 0; return 0;
}
if(e == 2) if(e == 2)
return 1; return 1;