mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Move some more sources to shared target
This commit is contained in:
@@ -91,11 +91,9 @@ struct PlayerControl
|
||||
// joystick input.
|
||||
void setMovementFromKeys();
|
||||
|
||||
#if CHECK_CLIENT_BUILD()
|
||||
// For client use
|
||||
u32 getKeysPressed() const;
|
||||
inline bool isMoving() const { return movement_speed > 0.001f; }
|
||||
#endif
|
||||
|
||||
// For server use
|
||||
void unpackKeysPressed(u32 keypress_bits);
|
||||
|
Reference in New Issue
Block a user