Untitled
case 5926: { if (pi(peer)->tankIDName == world_->owner_name) { int c_ = -1; modify_inventory(peer, p_, c_); for (int i = 0; i < 6000; i++) { if (items[world_->blocks[i].fg].blockType == SEED) world_->blocks[i].planted = 0; } for (ENetPeer* currentPeer = server->peers; currentPeer < &server->peers[server->peerCount]; ++currentPeer) { if (currentPeer->state != ENET_PEER_STATE_CONNECTED or currentPeer->data == NULL or pi((currentPeer)->world != pi((peer)->world) continue; exit_(currentPeer); } } break; }
Leave a Comment