Ignore an extra number argument in ModRegion (bug #5110)

pull/2454/head
capostrophic 5 years ago
parent 3f2b63122d
commit 168e5050bb

@ -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