Permalink
Browse files

Fixed an out of range if trying to death walk to Seers Village

  • Loading branch information...
1 parent 2434014 commit c188d74283a8899fdf49d2a005cc0cb44c8ea969 @cohenadair committed Apr 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 MSI/Core/Walking.simba
@@ -756,10 +756,11 @@ begin
with MSI_Locations[script.pathInfo.startLoc] do
begin
- if (length(deathPath.spsPath) <= 0) then
+ if (length(deathPath.spsAreas) <= 0) then
begin
MSI_Debug('No death path for location: '+name);
MSI_CloseHeader('MSI_DeathWalk: '+boolToStr(result));
+ MSI_Players[CurrentPlayer].ReportInfo.FalseReason := 'Death walk unavailable';
Exit;
end;

0 comments on commit c188d74

Please sign in to comment.