X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=rocks.c;h=ff8f8f96a1a0aaa9f89bf04539b745e9f00fae31;hp=9983809a6d6ffabd8b2a202f2dd39f908d2dd8ec;hb=1c7fee35c6c96c3a5c0c83dfbefe09955772b6fa;hpb=8b16f0a7698739f71f8dd89f3c411fd405b0a062 diff --git a/rocks.c b/rocks.c index 9983809..ff8f8f9 100644 --- a/rocks.c +++ b/rocks.c @@ -159,6 +159,7 @@ new_rocks(void) type = urnd() % NROCKS; *r = prototypes[type]; r->type = type; + r->life = r->area * 300; switch(i) { case RIGHT: r->x = XSIZE;