remove the \n from the skin names. whos bright idea was that?

This commit is contained in:
Bill Currie 2001-11-07 05:05:14 +00:00
parent 99190cb79a
commit b919c18ce1
2 changed files with 39 additions and 38 deletions

View File

@ -5,50 +5,51 @@
// different skins for each class for each team.
// Edit this file to point to the correct skins, and recompile.
// N.B. Make sure you have a \n on the end of each skin's name
// N.B. If you put a \n at the end of the skin names, I'll wring your scrawny
// little neck.
// These only work under QuakeWorld.
// Team 1 skins
#define TEAM1_SCOUT_SKIN "tf_scout\n"
#define TEAM1_SNIPER_SKIN "tf_snipe\n"
#define TEAM1_SOLDIER_SKIN "tf_sold\n"
#define TEAM1_DEMOMAN_SKIN "tf_demo\n"
#define TEAM1_MEDIC_SKIN "tf_medic\n"
#define TEAM1_HVYWEAP_SKIN "tf_hwguy\n"
#define TEAM1_PYRO_SKIN "tf_pyro\n"
#define TEAM1_SPY_SKIN "tf_spy\n"
#define TEAM1_ENGINEER_SKIN "tf_eng\n"
#define TEAM1_SCOUT_SKIN "tf_scout"
#define TEAM1_SNIPER_SKIN "tf_snipe"
#define TEAM1_SOLDIER_SKIN "tf_sold"
#define TEAM1_DEMOMAN_SKIN "tf_demo"
#define TEAM1_MEDIC_SKIN "tf_medic"
#define TEAM1_HVYWEAP_SKIN "tf_hwguy"
#define TEAM1_PYRO_SKIN "tf_pyro"
#define TEAM1_SPY_SKIN "tf_spy"
#define TEAM1_ENGINEER_SKIN "tf_eng"
// Team 2 skins
#define TEAM2_SCOUT_SKIN "tf_scout\n"
#define TEAM2_SNIPER_SKIN "tf_snipe\n"
#define TEAM2_SOLDIER_SKIN "tf_sold\n"
#define TEAM2_DEMOMAN_SKIN "tf_demo\n"
#define TEAM2_MEDIC_SKIN "tf_medic\n"
#define TEAM2_HVYWEAP_SKIN "tf_hwguy\n"
#define TEAM2_PYRO_SKIN "tf_pyro\n"
#define TEAM2_SPY_SKIN "tf_spy\n"
#define TEAM2_ENGINEER_SKIN "tf_eng\n"
#define TEAM2_SCOUT_SKIN "tf_scout"
#define TEAM2_SNIPER_SKIN "tf_snipe"
#define TEAM2_SOLDIER_SKIN "tf_sold"
#define TEAM2_DEMOMAN_SKIN "tf_demo"
#define TEAM2_MEDIC_SKIN "tf_medic"
#define TEAM2_HVYWEAP_SKIN "tf_hwguy"
#define TEAM2_PYRO_SKIN "tf_pyro"
#define TEAM2_SPY_SKIN "tf_spy"
#define TEAM2_ENGINEER_SKIN "tf_eng"
// Team 3 skins
#define TEAM3_SCOUT_SKIN "tf_scout\n"
#define TEAM3_SNIPER_SKIN "tf_snipe\n"
#define TEAM3_SOLDIER_SKIN "tf_sold\n"
#define TEAM3_DEMOMAN_SKIN "tf_demo\n"
#define TEAM3_MEDIC_SKIN "tf_medic\n"
#define TEAM3_HVYWEAP_SKIN "tf_hwguy\n"
#define TEAM3_PYRO_SKIN "tf_pyro\n"
#define TEAM3_SPY_SKIN "tf_spy\n"
#define TEAM3_ENGINEER_SKIN "tf_eng\n"
#define TEAM3_SCOUT_SKIN "tf_scout"
#define TEAM3_SNIPER_SKIN "tf_snipe"
#define TEAM3_SOLDIER_SKIN "tf_sold"
#define TEAM3_DEMOMAN_SKIN "tf_demo"
#define TEAM3_MEDIC_SKIN "tf_medic"
#define TEAM3_HVYWEAP_SKIN "tf_hwguy"
#define TEAM3_PYRO_SKIN "tf_pyro"
#define TEAM3_SPY_SKIN "tf_spy"
#define TEAM3_ENGINEER_SKIN "tf_eng"
// Team 4 skins
#define TEAM4_SCOUT_SKIN "tf_scout\n"
#define TEAM4_SNIPER_SKIN "tf_snipe\n"
#define TEAM4_SOLDIER_SKIN "tf_sold\n"
#define TEAM4_DEMOMAN_SKIN "tf_demo\n"
#define TEAM4_MEDIC_SKIN "tf_medic\n"
#define TEAM4_HVYWEAP_SKIN "tf_hwguy\n"
#define TEAM4_PYRO_SKIN "tf_pyro\n"
#define TEAM4_SPY_SKIN "tf_spy\n"
#define TEAM4_ENGINEER_SKIN "tf_eng\n"
#define TEAM4_SCOUT_SKIN "tf_scout"
#define TEAM4_SNIPER_SKIN "tf_snipe"
#define TEAM4_SOLDIER_SKIN "tf_sold"
#define TEAM4_DEMOMAN_SKIN "tf_demo"
#define TEAM4_MEDIC_SKIN "tf_medic"
#define TEAM4_HVYWEAP_SKIN "tf_hwguy"
#define TEAM4_PYRO_SKIN "tf_pyro"
#define TEAM4_SPY_SKIN "tf_spy"
#define TEAM4_ENGINEER_SKIN "tf_eng"

View File

@ -1819,7 +1819,7 @@ void(entity p) TeamFortress_SetSkin =
}
if ( p.skin == PC_CIVILIAN )
st = "base\n"; // Need a civilian skin
st = "base"; // Need a civilian skin
}
stuffcmd(p, "skin ");
stuffcmd(p, st);