diff options
| author | Catelite <liclockwork@yahoo.com> | 2012-06-13 16:48:54 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-13 17:28:13 (GMT) |
| commit | 12cf2a31455331d6f0b07f2e029a73eab2ac4cbf (patch) | |
| tree | c3c535ac7a4b6255a7ff79cb2c6bd01ee8a53f95 /src/elements | |
| parent | a104696620d7935984a6dab2a1514ff72e8a1872 (diff) | |
| download | powder-12cf2a31455331d6f0b07f2e029a73eab2ac4cbf.zip powder-12cf2a31455331d6f0b07f2e029a73eab2ac4cbf.tar.gz | |
Updated FRZZ element to behave somewhat like SNOW, since it has roughly the same physical properties. Also changed its element description, since it actually appears on a menu. Leftover FRZZ will eventually become ICE if touching ICE with FRZW ctype.
Diffstat (limited to 'src/elements')
| -rw-r--r-- | src/elements/ice.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elements/ice.c b/src/elements/ice.c index eb0fa47..6d68c3f 100644 --- a/src/elements/ice.c +++ b/src/elements/ice.c @@ -33,6 +33,8 @@ int update_ICEI(UPDATE_FUNC_ARGS) { //currently used for snow as well part_change_type(i,x,y,PT_SLTW); part_change_type(r>>8,x+rx,y+ry,PT_SLTW); } + if (((r&0xFF)==PT_FRZZ) && (parts[i].ctype=PT_FRZW) && 1>(rand()%1000)) + part_change_type(r>>8,x+rx,y+ry,PT_ICEI); } return 0; } |
