openmw-tes3coop/apps/openmw
David Cernat 20caea083a [Client] Use correct count for items in equipment packets
Previously, throwing weapon sync was completely broken for players, as the count for their equipped throwing weapons was never set and – as a result – defaulted to a count of 1 on other clients. As a result, any time a player threw a dart, they would then appear as having switched to hand-to-hand for other players.

Moreover, the count of equipped items was mistakenly based on the total count of items with that refId in the inventory. As a result, if – for example – I equipped 1 Daedric Longsword and had 4 others in my inventory, my DedicatedPlayer on other clients would equip a Daedric Longsword with a count of 5. If I was overencumbered by having that many Daedric Longswords on me and then dropped 4 of them, allowing myself to move again, my DedicatedPlayer would still walk around with 5 Daedric Longswords and lack animations due to still being overencumbered on the other clients.

These problems were less prevalent for actors, but their equipment updating code has also been changed to match that of players.
2018-03-12 23:31:37 +02:00
..
mwbase [General] Implement setting of physics framerate as part of GameSettings 2018-02-14 05:53:44 +02:00
mwclass Merge pull request #392 from OpenMW/master while resolving conflicts 2018-03-09 21:07:46 +02:00
mwdialogue Merge pull request #389 from OpenMW/master 2018-02-25 22:05:32 +02:00
mwgui Merge pull request #392 from OpenMW/master while resolving conflicts 2018-03-09 21:07:46 +02:00
mwinput Merge pull request #383 from OpenMW/master 2018-02-11 06:57:54 +02:00
mwmechanics [Client] Use correct count for items in equipment packets 2018-03-12 23:31:37 +02:00
mwmp [Client] Use correct count for items in equipment packets 2018-03-12 23:31:37 +02:00
mwphysics [General] Implement setting of physics framerate as part of GameSettings 2018-02-14 05:53:44 +02:00
mwrender Force normal polygon mode for the map camera (Fixes #4235) 2018-03-03 00:15:57 +00:00
mwscript Merge pull request #393 from OpenMW/master 2018-03-10 18:37:51 +02:00
mwsound http to https for supported urls (#1625) 2018-03-08 21:23:24 +01:00
mwstate Remove numeric quicksave slot IDs 2018-02-13 21:01:15 -05:00
mwworld Merge pull request #392 from OpenMW/master while resolving conflicts 2018-03-09 21:07:46 +02:00
android_commandLine.cpp Fix tab indentations in apps/ and components/ 2015-09-16 20:45:37 +02:00
android_commandLine.h Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
android_main.c Android: Add callbacks for basic cursor handling. 2018-01-18 21:18:31 -05:00
CMakeLists.txt Merge pull request #390 from OpenMW/master 2018-03-01 05:33:37 +02:00
crashcatcher.cpp crashcatcher: complain when launching gdb fails 2017-02-23 23:28:49 +01:00
doc.hpp Fixed more spelling mistakes 2016-12-15 13:09:40 +01:00
engine.cpp Merge pull request #369 from OpenMW/master 2018-01-10 03:49:53 +02:00
engine.hpp Don't increase simulationTime while the game is minimized (Fixes #4211) 2017-11-16 18:48:49 +00:00
main.cpp Merge pull request #374 from OpenMW/master while resolving conflicts 2018-01-27 22:52:59 +02:00