- remove some { from comments so it doesn't confuse vim

- make it print out the gamedir when it doesn't like it.
This commit is contained in:
Adam Olsen 2001-08-24 05:48:29 +00:00
parent 00e9ad1b99
commit 5e3fdef17b
2 changed files with 4 additions and 3 deletions

View file

@ -330,7 +330,7 @@ void(entity targ, entity inflictor, entity attacker, float damage, float T_flags
//Remember last person who shot us, so we can give him a frag //Remember last person who shot us, so we can give him a frag
if (targ.cutf_items & CUTF_EXPBODY && !targ.is_abouttodie) if (targ.cutf_items & CUTF_EXPBODY && !targ.is_abouttodie)
{ {
//if (targ.classname == "player" && attacker.classname == "player" && !Teammate(targ.team_no, attacker.team_no)) { //if (targ.classname == "player" && attacker.classname == "player" && !Teammate(targ.team_no, attacker.team_no))
targ.martyr_enemy = attacker; targ.martyr_enemy = attacker;
targ.stored_deathmsg = deathmsg; //- OfN - UNUSED? targ.stored_deathmsg = deathmsg; //- OfN - UNUSED?
} }
@ -474,7 +474,7 @@ void(entity targ, entity inflictor, entity attacker, float damage, float T_flags
//WK Slight mirror demon protection //WK Slight mirror demon protection
//Do 2 points of damage to a friendly teammate shooting a friendly demon //Do 2 points of damage to a friendly teammate shooting a friendly demon
//SB 2 damage? no way, we're doing the full mirror damage //SB 2 damage? no way, we're doing the full mirror damage
//- Ofn- if ((targ.classname == "monster_demon1" || targ.classname == "monster_army" || targ.classname == "monster_shambler") && targ.real_owner != world) { //- Ofn- if ((targ.classname == "monster_demon1" || targ.classname == "monster_army" || targ.classname == "monster_shambler") && targ.real_owner != world)
if (IsMonster(targ) && targ.real_owner != world) { if (IsMonster(targ) && targ.real_owner != world) {
targ.armorvalue = 1; targ.armorvalue = 1;
if (T_flags & TF_TD_NOTTEAM) if (T_flags & TF_TD_NOTTEAM)

View file

@ -219,7 +219,8 @@ void() worldspawn =
if (st == "") if (st == "")
localcmd("sv_gamedir fortress\n"); localcmd("sv_gamedir fortress\n");
else else
objerror("QW TF must be run with a gamedir of \"fortress\".\n"); objerror("QW TF must be run with a gamedir of \"fortress\", not \""
+ st + "\".\n");
} }
//- OfteN globals -// //- OfteN globals -//