summaryrefslogtreecommitdiff
path: root/src/game/player.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-07-26 02:09:41 +0200
committeraura <nw@moneybot.cc>2026-07-26 02:09:41 +0200
commite86a60e6c7475819f99bb042793a7ad568368e2f (patch)
tree329a18d729a3db550bb0204cf8ff98ab625621d2 /src/game/player.h
parente827fd28abfacee5784b5a86548ebd668c84a070 (diff)
better prop system + profiler trace
Diffstat (limited to 'src/game/player.h')
-rw-r--r--src/game/player.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/player.h b/src/game/player.h
index 27b423d..a2967bd 100644
--- a/src/game/player.h
+++ b/src/game/player.h
@@ -31,6 +31,8 @@ struct PLAYER_INPUT {
struct PLAYER : OBJECT {
static const U32 CLASSID = OBJCLASS_PLAYER;
+ using OBJ_SELF_TYPE = PLAYER;
+
OBJVAR( U32, health );
OBJVARV( F32, fov, 72.f );
OBJVARV( F32, eyeoffset, 40.f );