parent
0c4f459904
commit
164f034b0a
27 changed files with 223 additions and 80 deletions
|
|
@ -52,6 +52,8 @@ void ExplodePacket::read(DataInputStream *dis) //throws IOException
|
|||
r = dis->readFloat();
|
||||
int count = dis->readInt();
|
||||
|
||||
if (count < 0 || count > 32768) count = 0;
|
||||
|
||||
int xp = static_cast<int>(x);
|
||||
int yp = static_cast<int>(y);
|
||||
int zp = static_cast<int>(z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue