aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-04-12 13:50:22 +0200
committerBlockMen <nmuelll@web.de>2014-04-12 20:04:12 +0200
commit8b02a015eb7630c25e255ffe400bb714d023609b (patch)
tree42a7d9bd217a04574767f9c202536bdebafa53c3 /src/server.h
parentc0ab09af747fc431dfb459ede30788cb9cd1c56b (diff)
downloadminetest-8b02a015eb7630c25e255ffe400bb714d023609b.tar.gz
minetest-8b02a015eb7630c25e255ffe400bb714d023609b.tar.bz2
minetest-8b02a015eb7630c25e255ffe400bb714d023609b.zip
Use integers instead of float values
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h
index 23194a3ff..4cfc879cd 100644
--- a/src/server.h
+++ b/src/server.h
@@ -322,7 +322,7 @@ public:
inline Address getPeerAddress(u16 peer_id)
{ return m_con.GetPeerAddress(peer_id); }
- bool setLocalPlayerAnimations(Player *player, v2f animation_frames[4], f32 frame_speed);
+ bool setLocalPlayerAnimations(Player *player, v2s32 animation_frames[4], f32 frame_speed);
bool setPlayerEyeOffset(Player *player, v3f first, v3f third);
bool setSky(Player *player, const video::SColor &bgcolor,
@@ -364,7 +364,7 @@ private:
void SendPlayerHP(u16 peer_id);
void SendPlayerBreath(u16 peer_id);
void SendMovePlayer(u16 peer_id);
- void SendLocalPlayerAnimations(u16 peer_id, v2f animation_frames[4], f32 animation_speed);
+ void SendLocalPlayerAnimations(u16 peer_id, v2s32 animation_frames[4], f32 animation_speed);
void SendEyeOffset(u16 peer_id, v3f first, v3f third);
void SendPlayerPrivileges(u16 peer_id);
void SendPlayerInventoryFormspec(u16 peer_id);