X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fclientiface.h;h=cb3dae04b71355b95b0dd9996ac2a05a92cf32c6;hb=b97c9c65777b0389f4cc9a6e3257506f29761e03;hp=5452ccddbdf5a08cb642ac35d3f4cab2adc8c129;hpb=c91f8b1d251c81dcfc398c9ca2a4d79086212839;p=oweals%2Fminetest.git diff --git a/src/clientiface.h b/src/clientiface.h index 5452ccddb..cb3dae04b 100644 --- a/src/clientiface.h +++ b/src/clientiface.h @@ -238,6 +238,14 @@ public: void SetBlockNotSent(v3s16 p); void SetBlocksNotSent(std::map &blocks); + /** + * tell client about this block being modified right now. + * this information is required to requeue the block in case it's "on wire" + * while modification is processed by server + * @param p position of modified block + */ + void ResendBlockIfOnWire(v3s16 p); + s32 SendingCount() { return m_blocks_sending.size();