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);
fade = (1.0 - 0.5 * time);
fade *= fade;
for (i = 0; i < 8;i++)
- {
- if (!(cl.stats[STAT_ITEMS] & (1 << i)))
- continue;
- Sbar_DrawWeapon(i + 1, fade, ((1<<i) == cl.stats[STAT_ACTIVEWEAPON]));
- }
+ if (cl.stats[STAT_ITEMS] & (1 << i))
+ Sbar_DrawWeapon(i + 1, fade, ((1<<i) == cl.stats[STAT_ACTIVEWEAPON]));
if((cl.stats[STAT_ITEMS] & (1<<12)))
Sbar_DrawWeapon(0, fade, (cl.stats[STAT_ACTIVEWEAPON] == (1<<12)));