]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
-The NEXUIZ_PLAYERMODEL is not game specific anymore.
[xonotic/darkplaces.git] / host_cmd.c
index 882d7e7a4264f66955b8402a67e1482447dd3585..1e67a8db3c237eb11225cd1198826b3d3a4dfd0f 100644 (file)
@@ -1928,14 +1928,12 @@ void Host_InitCommands (void)
                Cvar_RegisterVariable (&cl_pmodel);
                Cmd_AddCommand ("pmodel", Host_PModel_f);
        }
-       // FIXME: Do this only for GAME_NEXUIZ?
-       else if (gamemode == GAME_NEXUIZ) 
-       {
-               Cvar_RegisterVariable (&cl_playermodel);
-               Cmd_AddCommand ("playermodel", Host_Playermodel_f);
-               Cvar_RegisterVariable (&cl_playerskin);
-               Cmd_AddCommand ("playerskin", Host_Playerskin_f);
-       }
+
+       // BLACK: This isnt game specific anymore (it was GAME_NEXUIZ at first)
+       Cvar_RegisterVariable (&cl_playermodel);
+       Cmd_AddCommand ("playermodel", Host_Playermodel_f);
+       Cvar_RegisterVariable (&cl_playerskin);
+       Cmd_AddCommand ("playerskin", Host_Playerskin_f);
 
        Cmd_AddCommand ("prespawn", Host_PreSpawn_f);
        Cmd_AddCommand ("spawn", Host_Spawn_f);