Files
fs2open.github.com/code/scripting/api/objs
MageKing17 c090ee5405 Use modulo instead of division in Lua useButtonControl() function.
When using a string to define the appropriate control in the useButtonControl() function (in l_Control_Info), the command definition was being divided by 32 when the appropriate mathematical operator was modulo; as a result, the only controls that could actually wind up being referenced are these four: TARGET_NEXT, MAX_THROTTLE, END_MISSION, and MULTI_MESSAGE_HOSTILE. By using the modulo operator, the string lookup now appropriately references the relevant button.
2019-01-22 20:15:46 -08:00
..
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-27 00:48:57 -04:00
2018-09-27 00:48:57 -04:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2018-09-27 00:48:57 -04:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00
2018-09-26 19:15:42 +02:00