mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix some clang compiler warnings (#14654)
* Fix some clang compiler warnings * Get rid of sdl_supports_primary_selection * Fix draw2DImage hiding overloaded virtual function
This commit is contained in:
parent
93f4844c9c
commit
5c187363b2
10 changed files with 12 additions and 69 deletions
|
@ -218,14 +218,6 @@ bool wouldCollideWithCeiling(
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline void getNeighborConnectingFace(const v3s16 &p,
|
||||
const NodeDefManager *nodedef, Map *map, MapNode n, int v, int *neighbors)
|
||||
{
|
||||
MapNode n2 = map->getNode(p);
|
||||
if (nodedef->nodeboxConnects(n, n2, v))
|
||||
*neighbors |= v;
|
||||
}
|
||||
|
||||
collisionMoveResult collisionMoveSimple(Environment *env, IGameDef *gamedef,
|
||||
f32 pos_max_d, const aabb3f &box_0,
|
||||
f32 stepheight, f32 dtime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue