float rz = rint(v.z * 4) + 128;
if(rx > 255 || rx < 0)
{
- LOG_INFO("shot origin ", vtos(v), " x out of bounds\n");
+ LOG_DEBUG("shot origin ", vtos(v), " x out of bounds\n");
rx = bound(0, rx, 255);
}
if(ry > 255 || ry < 0)
{
- LOG_INFO("shot origin ", vtos(v), " y out of bounds\n");
+ LOG_DEBUG("shot origin ", vtos(v), " y out of bounds\n");
ry = bound(0, ry, 255);
}
if(rz > 255 || rz < 0)
{
- LOG_INFO("shot origin ", vtos(v), " z out of bounds\n");
+ LOG_DEBUG("shot origin ", vtos(v), " z out of bounds\n");
rz = bound(0, rz, 255);
}
return rx * 0x10000 + ry * 0x100 + rz;