db2997f240
Fix incorrect assertion in CArtPlace::setArtifact
...
This fixes a crash in debug builds when the player tries to access
a hero's inventory and the hero has a "Summon Boat" spell scroll.
2025-05-07 15:49:59 +03:00
544adfd545
Merge pull request #5685 from kdmcser/crash_fix4
...
Fix crash caused by conflicting instanceName after loading game
2025-05-06 16:20:58 +03:00
fe276374ef
Merge pull request #5687 from kdmcser/fix_commander_artifacts
...
fix commander artifacts inactive when loading game
2025-05-06 16:20:27 +03:00
7cb922dd8a
fix old vcmi format map loading crash
2025-05-06 01:53:25 +08:00
b8f222e7dd
Update ESerializationVersion.h
2025-05-06 01:25:33 +08:00
26f3d95b47
pass compile
2025-05-06 01:22:29 +08:00
5645806035
Merge branch 'develop' into crash_fix4
2025-05-06 01:20:19 +08:00
69b58f1846
serialize uidCounter in CMap
2025-05-05 23:16:14 +08:00
aebe4932fb
fix commander artifacts inactive when loading game
2025-05-05 23:01:43 +08:00
fb0cdb2475
Merge pull request #5669 from IvanSavenko/haven_fix
...
Fix crash on evaluating creature terrain limiter during initialization (Haven mod fix)
2025-05-05 16:18:54 +03:00
34dce8dfc1
Merge pull request #5678 from kdmcser/crash_fix2
...
fix crash when opening available artifacts popup for a slot
2025-05-05 16:10:41 +03:00
1cd7117b71
Merge pull request #5672 from kdmcser/puzzle_map_fix
...
fix puzzle map never be revealed
2025-05-05 16:10:09 +03:00
1690913ba4
Stack instance now stores non-serialized pointer to army
2025-05-05 16:09:21 +03:00
90e765b2be
Merge pull request #5677 from kdmcser/hang_fix
...
fix hangs after a siege battle
2025-05-05 16:06:25 +03:00
313a1119ea
Merge pull request #5684 from altiereslima/develop
...
Portuguese translation update
2025-05-05 16:04:57 +03:00
2e90e54aeb
Merge pull request #5680 from kdmcser/crash_fix3
...
fix load game crash
2025-05-05 16:03:27 +03:00
10deffbc55
Merge pull request #5676 from kdmcser/chinese
...
Update Chinese Translation
2025-05-05 16:02:43 +03:00
4fc29f8b20
Merge pull request #5668 from IvanSavenko/stackexp_fix
...
Unit stack rebalancing rework
2025-05-05 16:02:10 +03:00
82870e82c9
initialize uidCounter when loading game
2025-05-05 01:19:29 +08:00
2675486e84
Portuguese translation update
2025-05-04 08:56:27 -03:00
1c6d45d5b1
fix load game crash
2025-05-03 20:01:58 +08:00
da5c1ffe23
fix crash when opening available artifacts popup for a slot
2025-05-03 12:06:32 +08:00
50887a4f30
fix hangs after a siege battle
2025-05-02 22:16:35 +08:00
f7f36a3a2f
Update Chinese Translation
2025-05-02 02:13:36 +08:00
935476a86a
fix puzzle map never open
2025-05-01 23:40:43 +08:00
283adc37d7
Unit stack rebalancing rework
...
- CStackInstance::count is now private with accessor methods
- CStackInstance::experience renamed to totalExperience and now stores
total stack experience (multiplied by stack size) to reduce rounding
errors
- CStackInstance::totalExperience is now private with accessors methods
- stack experience is now automatically reallocated on stack management
- Removed buggy BulkSmartRebalanceStacks pack, that mostly duplicates
BulkRebalanceStacks
- Renamed BulkSmartSplitStack to BulkSplitAndRebalanceStack to drop
unclear "smart" in name
- Reworked split-and-rebalance logic to correctly reallocate stack
experience
2025-05-01 18:18:30 +03:00
ac26b3ed9b
Merge pull request #5658 from IvanSavenko/memleak_fix
...
Fix discovered memory leaks & reduce usage of raw pointers
2025-04-30 13:38:37 +03:00
668bc57210
Merge pull request #5661 from kdmcser/crash_fix2
...
fix crash when creature level is 0
2025-04-30 13:38:25 +03:00
279d89f971
Merge pull request #5659 from IvanSavenko/artifact_split
...
Reorganized artifact-related classes
2025-04-30 13:23:41 +03:00
e2b7443f67
Merge pull request #5660 from GeorgeK1ng/czech_update
...
Czech translation typo fixes
2025-04-30 13:02:23 +03:00
342a4e3839
Merge pull request #5656 from IvanSavenko/bugfixing
...
Fixes for multiple reported issues
2025-04-30 13:01:41 +03:00
9310ff3b7a
fix crash when creature level is 0
2025-04-30 00:10:21 +08:00
f70ad2c15b
Reorganized artifact-related classes
...
- files now generally contain only 1 class (except for tightly coupled
classes)
- files are now located in lib/entities/artifact directory
- removed excessive includes
No changes to functionality
2025-04-29 13:29:08 +03:00
6f587a243b
Fix build
2025-04-29 13:28:30 +03:00
04ba017198
Deallocate sound chunk immediately on end of playback
2025-04-29 13:17:21 +03:00
cc9310afb6
Typo fix
2025-04-29 12:07:51 +02:00
42d3a64b30
Typo fixes
2025-04-29 12:06:52 +02:00
be2ebc8e56
Fix build
2025-04-29 13:03:08 +03:00
9fbfbc7506
Fix build
2025-04-29 12:37:29 +03:00
dca5a099d5
Remove compat code for old banks, fixes crash on loading old mods
2025-04-29 12:15:04 +03:00
eaae6270b2
Fix crash on AI evaluating hero pool after retreating from combat
2025-04-29 12:15:03 +03:00
71d742ab19
Fix handling of campaign bonus where player can select color to play
2025-04-29 12:14:14 +03:00
246d7e39a3
Fix deadlock in AI on attempt to exit to main menu while in combat
2025-04-29 12:12:53 +03:00
5550edeb9a
Fix inability of unit to cast spell after receiving morale
2025-04-29 12:12:51 +03:00
554a414302
Fix remaining memory leaks caused by API misuse
2025-04-29 12:11:10 +03:00
c0fb1d1b3b
Replace some raw pointers with unique's or optional
2025-04-29 12:11:10 +03:00
4bafab9ad4
Fix possible leak due to usage of raw pointers in filesystem
2025-04-29 12:11:10 +03:00
3547635c05
Fix (mostly false-positive) memory leaks in task dispatching
2025-04-29 12:11:10 +03:00
cd2837a84e
Fix possible memory leak (circular shared_ptr) in networking
2025-04-29 12:11:10 +03:00
e567e1b820
Fix possible memory leaks in sound handler, simplify API
2025-04-29 12:11:10 +03:00