Skip to content

Commit a2f55d3

Browse files
Minor tweaks
1 parent 5d2184f commit a2f55d3

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

src/SourceEngine.Demo.Parser/DemoParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ private void MapEquipment()
11141114
}
11151115
}
11161116

1117-
// Check the name if the above switch matches nothing. (usually only things that the player can hold that are neither a weapon nor a grenade (?))
1117+
// Check the name iff the above switch matches nothing. (usually only things that the player can hold that are neither a weapon nor a grenade (?))
11181118
switch (sc.Name) {
11191119
case "CC4":
11201120
// Bomb is neither "ratatata" nor "boom", its "booooooom".

src/SourceEngine.Demo.Parser/Events.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,6 @@ public static EquipmentElement MapEquipment(string name)
555555
if (name.Contains("knife"))
556556
return EquipmentElement.Knife;
557557

558-
if (name == "axe" || name == "hammer" || name == "spanner")
559-
return EquipmentElement.Melee;
560-
561558
switch (name)
562559
{
563560
case "ak47":
@@ -665,6 +662,9 @@ public static EquipmentElement MapEquipment(string name)
665662
case "fists":
666663
return EquipmentElement.Fists;
667664
case "melee":
665+
case "axe":
666+
case "hammer":
667+
case "spanner":
668668
return EquipmentElement.Melee;
669669
case "tablet":
670670
return EquipmentElement.Tablet;

src/SourceEngine.Demo.Parser/SourceEngine.Demo.Parser.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@
3535
<DebugSymbols>true</DebugSymbols>
3636
</PropertyGroup>
3737

38-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
39-
<DebugType>full</DebugType>
40-
<DebugSymbols>true</DebugSymbols>
41-
</PropertyGroup>
42-
4338
<ItemGroup>
4439
<None Remove="packages.lock.json" />
4540
</ItemGroup>

src/SourceEngine.Demo.Stats.App/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"SourceEngine.Demo.Stats.App": {
44
"commandName": "Project",
5-
"commandLineArgs": "IDemO -folders \"demos\" -output \"parsed\" -recursive -samefilename -samefolderstructure -nochickens -gamemodeoverride \"dangerzone\" -testtype \"competitive\""
5+
"commandLineArgs": "IDemO -folders \"demos\" -output \"parsed\" -recursive -samefilename -samefolderstructure -nochickens"
66
}
77
}
88
}

0 commit comments

Comments
 (0)