diff options
Diffstat (limited to 'src/simulation/elements/PRTO.cpp')
| -rw-r--r-- | src/simulation/elements/PRTO.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/simulation/elements/PRTO.cpp b/src/simulation/elements/PRTO.cpp index 4a51657..e3d6938 100644 --- a/src/simulation/elements/PRTO.cpp +++ b/src/simulation/elements/PRTO.cpp @@ -70,11 +70,8 @@ int Element_PRTO::update(UPDATE_FUNC_ARGS) { r = pmap[y+ry][x+rx]; if (!r) - fe = 1; - if (r) - continue; - if (!r) { + fe = 1; for ( nnx =0 ; nnx<80; nnx++) { int randomness = (count + rand()%3-1 + 4)%8;//add -1,0,or 1 to count @@ -192,4 +189,4 @@ int Element_PRTO::graphics(GRAPHICS_FUNC_ARGS) } -Element_PRTO::~Element_PRTO() {}
\ No newline at end of file +Element_PRTO::~Element_PRTO() {} |
