summaryrefslogtreecommitdiff
path: root/src/elements/soap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/soap.c')
-rw-r--r--src/elements/soap.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/elements/soap.c b/src/elements/soap.c
index 0496bd2..ce8ff3d 100644
--- a/src/elements/soap.c
+++ b/src/elements/soap.c
@@ -1,22 +1,5 @@
#include <element.h>
-void detach(int i)
-{
- if ((parts[i].ctype&2) == 2)
- {
- if ((parts[parts[i].tmp].ctype&4) == 4)
- parts[parts[i].tmp].ctype ^= 4;
- }
-
- if ((parts[i].ctype&4) == 4)
- {
- if ((parts[parts[i].tmp2].ctype&2) == 2)
- parts[parts[i].tmp2].ctype ^= 2;
- }
-
- parts[i].ctype = 0;
-}
-
int update_SOAP(UPDATE_FUNC_ARGS)
{
int r, rx, ry;