diff options
Diffstat (limited to 'src/game/player.h')
| -rw-r--r-- | src/game/player.h | 2 |
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 ); |
