Skip to content

Commit

Permalink
Update ra2mode_fixes.asm
Browse files Browse the repository at this point in the history
Allow Dogs & Flak Troopers to get a speed boost in RA2 Mode
#15
  • Loading branch information
Belonit committed Aug 1, 2023
1 parent b72c016 commit 4da1f38
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/ra2mode_fixes.asm
Original file line number Diff line number Diff line change
Expand Up @@ -998,3 +998,16 @@ hack 0x004430B6, 0x004430BC
jz 0x0044328E

jmp hackend

;;; Skip Crawls check on InfantryType
;;; https://github.com/CnCNet/yr-patches/issues/15
hack 0x0051D77A
cmp byte[Ra2Mode], 0
jz .Reg

jmp 0x0051D793

.Reg:
cmp edi, 5
jnz 0x0051D793
jmp hackend

0 comments on commit 4da1f38

Please sign in to comment.