Skip to content

Commit

Permalink
DLA fix - pulling incorrect location in list of objects
Browse files Browse the repository at this point in the history
  • Loading branch information
GABowers committed Feb 6, 2019
1 parent 1c13e8c commit 992cada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Capstone Application/CA.cs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ void DLARoutine()
{

AgentController cur = ActiveAgents[ActiveAgents.Count - 1];
List<Tuple<int, int>> locations = (List<Tuple<int, int>>)generics[0][0];
List<Tuple<int, int>> locations = (List<Tuple<int, int>>)generics[2][0];
if (cur.currentState == 0)
{
for (int i = 0; i < ActiveAgents.Count; i++)
Expand Down
4 changes: 2 additions & 2 deletions Capstone Application/Capstone Application.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>C:\Users\GAB\Desktop\CAPSTONE\Winform\2019-01-29\</PublishUrl>
<PublishUrl>C:\Users\GAB\Desktop\CAPSTONE\Winform\2019-02-06\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
Expand All @@ -22,7 +22,7 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>18</ApplicationRevision>
<ApplicationRevision>19</ApplicationRevision>
<ApplicationVersion>0.1.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down

0 comments on commit 992cada

Please sign in to comment.