Notices & clean
[carveJwlIkooP6JGAAIwe30JlM.git] / player.h
index 0a226afaffe04541c3315dfc602dd81f859c88f0..5dd9401dbfca38fd3b922622aeff98b11de9eb4e 100644 (file)
--- a/player.h
+++ b/player.h
@@ -1,10 +1,5 @@
 /*
- * Copyright 2021-2022 (C) Mount0 Software, Harry Godden - All Rights Reserved
- * -----------------------------------------------------------------------------
- *
- * Player head module
- *
- * -----------------------------------------------------------------------------
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
  */
 
 #ifndef PLAYER_H
@@ -177,7 +172,7 @@ static void player_restore_frame(void);
  * -----------------------------------------------------------------------------
  */
 
-static int player_init(void)                                             /* 1 */
+static void player_init(void)                                            /* 1 */
 {
    rb_init( &player.phys.rb );
    rb_init( &player.collide_front );
@@ -228,7 +223,8 @@ static int player_init(void)                                             /* 1 */
                .function = reset_player
        });
 
-   return player_model_init();
+   /* other systems */
+   vg_loader_highwater( player_model_init, player_model_free, NULL );
 }
 
 static void player_update(void)                                          /* 2 */