Silenced and fixed many warning messages across multiple files.
This commit is contained in:
@@ -49,14 +49,14 @@ char cBeaconEntity::CalculatePyramidLevel(void)
|
||||
{
|
||||
if (!IsMineralBlock(Area.GetRelBlockType(X, Y, Z)))
|
||||
{
|
||||
return (Layer - 1);
|
||||
return static_cast<char>(Layer - 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
Layer++;
|
||||
}
|
||||
|
||||
return (Layer - 1);
|
||||
return static_cast<char>(Layer - 1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user