Skip to content

Commit

Permalink
Convert classic waypoints to waypoint not mpspawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott_NZ authored and Scott_NZ committed Jan 8, 2013
1 parent a56228a commit c10df03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OpenRA.Editor/LegacyMapImporter.cs
@@ -1,4 +1,4 @@
#region Copyright & License Information
#region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
Expand Down Expand Up @@ -174,10 +174,10 @@ public void ConvertIniMap(string iniFile)
// Add waypoint actors
foreach( var kv in wps )
{
var a = new ActorReference("mpspawn");
var a = new ActorReference("waypoint");
a.Add(new LocationInit((CPos)kv.Second));
a.Add(new OwnerInit("Neutral"));
Map.Actors.Value.Add("spawn" + kv.First, a);
Map.Actors.Value.Add("waypoint" + kv.First, a);
}

}
Expand Down

0 comments on commit c10df03

Please sign in to comment.