summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 3ae0c4e51..8897adc5e 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -80,6 +80,8 @@ public:
m_cao = toset;
}
+ u32 maxHudId() const { return hud.size(); }
+
private:
void accelerateHorizontal(const v3f &target_speed, const f32 max_increase);
void accelerateVertical(const v3f &target_speed, const f32 max_increase);