diff options
| author | cracker64 <cracker642@gmail.com> | 2013-02-28 05:40:36 (GMT) |
|---|---|---|
| committer | cracker64 <cracker642@gmail.com> | 2013-02-28 05:40:36 (GMT) |
| commit | c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2 (patch) | |
| tree | 90744a56bc618c12aab5ef617445b283ce2d6d57 /src/simulation/elements/RIME.cpp | |
| parent | 08d1a68ce091b6ba53788224fd1bda92c1895ca6 (diff) | |
| download | powder-c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2.zip powder-c65081d3ed44a97cea0f41a63e9ec07cf0feb5f2.tar.gz | |
Finished first pass-through for all elements.
Will get a few more places later.
Diffstat (limited to 'src/simulation/elements/RIME.cpp')
| -rw-r--r-- | src/simulation/elements/RIME.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/simulation/elements/RIME.cpp b/src/simulation/elements/RIME.cpp index 1ff2fad..bf15dc4 100644 --- a/src/simulation/elements/RIME.cpp +++ b/src/simulation/elements/RIME.cpp @@ -12,7 +12,7 @@ Element_RIME::Element_RIME() Advection = 0.00f; AirDrag = 0.00f * CFDS; AirLoss = 0.00f; - Loss = 1.00f; + Loss = 0.00f; Collision = 0.00f; Gravity = 0.0f; Diffusion = 0.00f; @@ -50,8 +50,6 @@ Element_RIME::Element_RIME() int Element_RIME::update(UPDATE_FUNC_ARGS) { int r, rx, ry; - parts[i].vx = 0; - parts[i].vy = 0; for (rx=-1; rx<2; rx++) for (ry=-1; ry<2; ry++) if (x+rx>=0 && y+ry>0 && x+rx<XRES && y+ry<YRES && (rx || ry)) @@ -74,4 +72,4 @@ int Element_RIME::update(UPDATE_FUNC_ARGS) } -Element_RIME::~Element_RIME() {}
\ No newline at end of file +Element_RIME::~Element_RIME() {} |
