Fix returns for Coal code

This commit is contained in:
Simon Robertshaw 2011-04-21 14:15:15 +01:00
parent 635be04c16
commit 31d76df948
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ int update_BCOL(UPDATE_FUNC_ARGS) {
if (parts[r>>8].ctype == PT_IRON) {
parts[r>>8].ctype = PT_METL;
kill_part(i);
return 1;
}
}
}

View File

@ -35,6 +35,7 @@ int update_COAL(UPDATE_FUNC_ARGS) {
if (parts[r>>8].ctype == PT_IRON) {
parts[r>>8].ctype = PT_METL;
kill_part(i);
return 1;
}
}
}