Skip to content

Commit

Permalink
Merge pull request #24 from mpharoah/mpharoah/fix-1E-command-crash
Browse files Browse the repository at this point in the history
Fixed a crash when loading a script with a 0x1E command
  • Loading branch information
Denis Kopyrin authored Dec 15, 2019
2 parents 7f5559e + 28f6f01 commit 0402335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Scripts/GeoScripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ private static byte getCmdLength(byte cmd)
case 0x19:
case 0x1A:
case 0x1D:
case 0x1E:
return 0x08;
case 0x08:
case 0x0A:
Expand Down

0 comments on commit 0402335

Please sign in to comment.