Skip to content

Commit

Permalink
fix legcom.bos (#3852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharsy authored Oct 15, 2024
1 parent fd8ac3c commit 32d6b16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/Units/legcom.bos
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static-var isAiming, isBuilding, isAimingDgun, buildHeading, buildPitch, leftArm

// Signal definitions
#define SIGNAL_AIM1 256
#define SIGNAL_move 512
#define SIGNAL_MOVE 512
#define SIGNAL_AIM2 1024
#define SIGNAL_BUILD 2048

Expand Down Expand Up @@ -480,6 +480,12 @@ StartMoving(reversing)
start-script walk();
}

StopMoving(){
signal SIGNAL_MOVE;
isMoving=FALSE;
call-script StopWalking();
}

//--------------------------------------------------------
//Create
//--------------------------------------------------------
Expand Down
Binary file modified scripts/Units/legcom.cob
Binary file not shown.

0 comments on commit 32d6b16

Please sign in to comment.