summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-05-10 19:32:00 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-14 12:46:10 (GMT)
commit9d20d6af82a3216c673dc5a8c0a3f03ff4326c4f (patch)
tree53567d991ce0efc03ab74393612dd75c5894b4f0 /src/elements
parente675fb3cc18117bee065719afd390995e8494e87 (diff)
downloadpowder-9d20d6af82a3216c673dc5a8c0a3f03ff4326c4f.zip
powder-9d20d6af82a3216c673dc5a8c0a3f03ff4326c4f.tar.gz
Decoration has a color menu. GoL uses less memory(17MB less), and probably a bit faster.
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/neut.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/elements/neut.c b/src/elements/neut.c
index 3207534..436a9dc 100644
--- a/src/elements/neut.c
+++ b/src/elements/neut.c
@@ -1,10 +1,8 @@
#include <element.h>
-#if defined(WIN32) && !defined(__GNUC__)
-_inline int create_n_parts(int n, int x, int y, float vx, float vy, int t)
-#else
+
inline int create_n_parts(int n, int x, int y, float vx, float vy, int t)//testing a new deut create part
-#endif
+
{
int i, c;
n = (n/50);
@@ -82,7 +80,7 @@ int update_NEUT(UPDATE_FUNC_ARGS) {
#ifdef SDEUT
else if ((r&0xFF)==PT_DEUT && (pressureFactor+1+(parts[i].life/100))>(rand()%1000))
{
- create_n_parts(parts[r>>8].life, x+rx, y+ry, parts[i].vx, parts[i].vy, PT_NEUT);
+ //create_n_parts(parts[r>>8].life, x+rx, y+ry, parts[i].vx, parts[i].vy, PT_NEUT);
kill_part(r>>8);
}
#else