diff options
| author | Simon <simon@hardwired.org.uk> | 2011-03-30 17:57:49 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-03-30 17:57:49 (GMT) |
| commit | b7a004986f70986aa9cd314d754deddff6b031f0 (patch) | |
| tree | 8f9329a74cfd1d2718de4e4a8bef62d7313d96ea /src/elements/acid.c | |
| parent | 3863a7587734be5a010327d869838daf5790d84a (diff) | |
| download | powder-b7a004986f70986aa9cd314d754deddff6b031f0.zip powder-b7a004986f70986aa9cd314d754deddff6b031f0.tar.gz | |
A cracker commit with some nice comments
Diffstat (limited to 'src/elements/acid.c')
| -rw-r--r-- | src/elements/acid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/acid.c b/src/elements/acid.c index 3d9f7b0..875f148 100644 --- a/src/elements/acid.c +++ b/src/elements/acid.c @@ -20,7 +20,7 @@ int update_ACID(UPDATE_FUNC_ARGS) { } else if (((r&0xFF)!=PT_CLNE && (r&0xFF)!=PT_PCLN && ptypes[r&0xFF].hardness>(rand()%1000))&&parts[i].life>=50) { - if (parts_avg(i, r>>8,PT_GLAS)!= PT_GLAS) + if (parts_avg(i, r>>8,PT_GLAS)!= PT_GLAS)//GLAS protects stuff from acid { parts[i].life--; kill_part(r>>8); |
