summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index af8a9f7..1de5ad4 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -618,6 +618,14 @@ void proto_recv_additem_client(char *msg)
sscanf(msg, "%s %d %d %d %d %d %d %d %d",
cmd, &id, &type, &x, &y, &count, &frame, &author_id, &check_id);
+#if FUCKED_PATCH
+ if( author_id != ID_UNKNOWN &&
+ getObjectFromSpaceWithID(getCurrentArena()->spaceTux, author_id) == NULL )
+ {
+ return;
+ }
+#endif
+
proto_send_check_client(check_id);
if( ( item = getObjectFromSpaceWithID(getCurrentArena()->spaceItem, id) ) != NULL )