0ad/source/simulation2/scripting
Angen a3941e8cca Fix UnitmotionFlying and implement CMessageMotionUpdate::FromJSVal
In 32e8ed51aa have been changed message from MotionChanged to
MotionUpdate and CMessageMotionUpdate::FromJSVal was not implemented to
reflect changes in message structure.
As a result UnitMotionFlying tries to send MotionChanged message which
not only was renamed, but sending it from js is not supported anymore.
Also reported at this thread:
https://wildfiregames.com/forum/index.php?/topic/27294-cheats-error/

Differential Revision: https://code.wildfiregames.com/D2450
Tested by: @gameboy
Tested on: Jenkins/vs2015, Jenkins/gcc6
Fixes: #5626

This was SVN commit r23208.
2019-12-06 17:36:25 +00:00
..
EngineScriptConversions.cpp Fix missing JSAutoRequest before JS_ReportError in various commits. 2019-09-20 19:18:07 +00:00
JSInterface_Simulation.cpp Save replay metadata for non-visual games too, refs #4577, #5548, fixes #5565. 2019-09-25 10:06:12 +00:00
JSInterface_Simulation.h Save replay metadata for non-visual games too, refs #4577, #5548, fixes #5565. 2019-09-25 10:06:12 +00:00
MessageTypeConversions.cpp Fix UnitmotionFlying and implement CMessageMotionUpdate::FromJSVal 2019-12-06 17:36:25 +00:00
ScriptComponent.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ScriptComponent.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00