Merge pull request #2454 from Capostrophic/modregion

Ignore an extra number argument in ModRegion (bug #5110)
pull/541/head
Alexei Dobrohotov 5 years ago committed by GitHub
commit 3d5d5d8b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,6 +115,7 @@
Bug #5092: NPCs with enchanted weapons play sound when out of charges
Bug #5093: Hand to hand sound plays on knocked out enemies
Bug #5099: Non-swimming enemies will enter water if player is water walking
Bug #5110: ModRegion with a redundant numerical argument breaks script execution
Feature #1774: Handle AvoidNode
Feature #2229: Improve pathfinding AI
Feature #3025: Analogue gamepad movement controls

@ -340,7 +340,7 @@ namespace Compiler
extensions.registerFunction ("getmasserphase", 'l', "", opcodeGetMasserPhase);
extensions.registerFunction ("getsecundaphase", 'l', "", opcodeGetSecundaPhase);
extensions.registerFunction ("getcurrentweather", 'l', "", opcodeGetCurrentWeather);
extensions.registerInstruction ("modregion", "S/llllllllll", opcodeModRegion);
extensions.registerInstruction ("modregion", "S/llllllllllX", opcodeModRegion);
}
}

Loading…
Cancel
Save