mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
trying something else... also replaced M_PI by PI everywhere
This commit is contained in:
@@ -584,7 +584,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
|
||||
Don't generate or send if not in sight
|
||||
*/
|
||||
|
||||
if(isBlockInSight(p, camera_pos, camera_dir, M_PI, 10000*BS) == false)
|
||||
if(isBlockInSight(p, camera_pos, camera_dir, PI, 10000*BS) == false)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user