mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Merge branch 'my_other_mr_is_larger' into 'master'
Make AddItem's quantity overflow on negative numbers Closes #5934 See merge request OpenMW/openmw!713
This commit is contained in:
commit
9aa5aef2c6
@ -115,6 +115,7 @@
|
|||||||
Bug #5906: Sunglare doesn't work with Mesa drivers and AMD GPUs
|
Bug #5906: Sunglare doesn't work with Mesa drivers and AMD GPUs
|
||||||
Bug #5912: ImprovedBound mod doesn't work
|
Bug #5912: ImprovedBound mod doesn't work
|
||||||
Bug #5914: BM: The Swimmer can't reach destination
|
Bug #5914: BM: The Swimmer can't reach destination
|
||||||
|
Bug #5934: AddItem command doesn't accept negative values
|
||||||
Feature #390: 3rd person look "over the shoulder"
|
Feature #390: 3rd person look "over the shoulder"
|
||||||
Feature #832: OpenMW-CS: Handle deleted references
|
Feature #832: OpenMW-CS: Handle deleted references
|
||||||
Feature #1536: Show more information about level on menu
|
Feature #1536: Show more information about level on menu
|
||||||
|
@ -93,7 +93,7 @@ namespace MWScript
|
|||||||
runtime.pop();
|
runtime.pop();
|
||||||
|
|
||||||
if (count<0)
|
if (count<0)
|
||||||
throw std::runtime_error ("second argument for AddItem must be non-negative");
|
count = static_cast<uint16_t>(count);
|
||||||
|
|
||||||
// no-op
|
// no-op
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user