Permalink
Browse files

Debug, Globals: Documentation fixes

Obstacles, Walking: Fixed unknown identifiers
  • Loading branch information...
1 parent ab80210 commit 0f54184f8e1228b17afae0b073790f3bacab14a1 @cohenadair committed Aug 8, 2011
Showing with 12 additions and 3 deletions.
  1. +1 −1 MSI/Core/Debug.simba
  2. +1 −1 MSI/Core/Globals.simba
  3. +4 −1 MSI/Core/Obstacles.simba
  4. +6 −0 MSI/Core/Walking.simba
View
@@ -94,7 +94,7 @@ end;
(*
MSI_CloseHeader
-~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~
.. code-block:: pascal
View
@@ -837,7 +837,7 @@ type
(*
TMaterial
-~~~~~~~
+~~~~~~~~~
The type that holds all the attributes of any materials used for a skill.
*)
View
@@ -341,7 +341,10 @@ Example:
*)
function MSI_SolveObstacle(obs: TObstacle): boolean;
var
- t, i: Integer;
+ {$IFDEF REFLECTION}
+ i: integer;
+ {$ENDIF}
+ t: integer;
obsObj: TMSObject;
begin
if (not loggedIn) then
View
@@ -99,6 +99,8 @@ var
t: Integer;
{$ENDIF}
begin
+ result := false;
+
if (not LoggedIn) then
Exit;
@@ -153,6 +155,8 @@ var
MP: TPoint;
{$ENDIF}
begin
+ result := false;
+
if (not LoggedIn) then
Exit;
@@ -522,6 +526,8 @@ var
stopMoving: Boolean;
{$ENDIF}
begin
+ result := true;
+
if (not LoggedIn) then
Exit;

0 comments on commit 0f54184

Please sign in to comment.