Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
199 B
3
Indexable
Never
int x_ = (pInfo(peer)->state == 16 ? (int)pInfo(peer)->x / 32 : round((double)pInfo(peer)->x / 32));
int y_ = (int)pInfo(peer)->y / 32;
WorldBlock blocks_ = world_->blocks[(x_ + 1) + ((y_) * 100)];