Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compile on debian unstable
[vor.git]
/
rocks.c
diff --git
a/rocks.c
b/rocks.c
index
7c43427
..
ff8f8f9
100644
(file)
--- a/
rocks.c
+++ b/
rocks.c
@@
-4,7
+4,7
@@
#include <string.h>
#include "common.h"
#include <string.h>
#include "common.h"
-#include "config.h"
+#include "vorconfig.h"
#include "file.h"
#include "globals.h"
#include "mt.h"
#include "file.h"
#include "globals.h"
#include "mt.h"
@@
-159,6
+159,7
@@
new_rocks(void)
type = urnd() % NROCKS;
*r = prototypes[type];
r->type = type;
type = urnd() % NROCKS;
*r = prototypes[type];
r->type = type;
+ r->life = r->area * 300;
switch(i) {
case RIGHT:
r->x = XSIZE;
switch(i) {
case RIGHT:
r->x = XSIZE;