Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
Debug, Globals: Documentation fixes
Browse files Browse the repository at this point in the history
Obstacles, Walking: Fixed unknown identifiers
  • Loading branch information
cohenadair committed Aug 8, 2011
1 parent ab80210 commit 0f54184
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MSI/Core/Debug.simba
Expand Up @@ -94,7 +94,7 @@ end;

(*
MSI_CloseHeader
~~~~~~~~~~~~~
~~~~~~~~~~~~~~~

.. code-block:: pascal

Expand Down
2 changes: 1 addition & 1 deletion MSI/Core/Globals.simba
Expand Up @@ -837,7 +837,7 @@ type

(*
TMaterial
~~~~~~~
~~~~~~~~~

The type that holds all the attributes of any materials used for a skill.
*)
Expand Down
5 changes: 4 additions & 1 deletion MSI/Core/Obstacles.simba
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions MSI/Core/Walking.simba
Expand Up @@ -99,6 +99,8 @@ var
t: Integer;
{$ENDIF}
begin
result := false;

if (not LoggedIn) then
Exit;

Expand Down Expand Up @@ -153,6 +155,8 @@ var
MP: TPoint;
{$ENDIF}
begin
result := false;

if (not LoggedIn) then
Exit;

Expand Down Expand Up @@ -522,6 +526,8 @@ var
stopMoving: Boolean;
{$ENDIF}
begin
result := true;

if (not LoggedIn) then
Exit;

Expand Down

0 comments on commit 0f54184

Please sign in to comment.