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
..
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2018-06-30 23:22:07 +02:00
2018-06-30 23:22:07 +02:00
2018-11-18 12:43:39 +01:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-11-18 12:43:39 +01:00
2016-12-30 19:13:39 +01:00
2019-01-22 20:15:46 -08:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01: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
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2017-03-04 16:16:22 +01:00
2017-12-20 10:45:40 +01:00
2017-12-20 10:45:40 +01: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
2016-12-30 19:13:39 +01:00
2018-11-26 18:50:12 +01:00
2016-12-30 19:13:39 +01:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2016-12-30 19:13:39 +01:00
2018-09-27 00:48:57 -04:00
2016-12-30 19:13:39 +01:00
2018-11-26 18:50:12 +01:00
2018-11-18 12:43:39 +01:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01: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
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2016-12-30 19:13:39 +01:00
2018-11-26 18:50:12 +01:00
2016-12-30 19:13:39 +01:00
2018-09-27 11:45:09 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-12-08 17:32:49 +01:00
2018-07-16 10:21:52 +02:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-12-06 19:53:50 +01:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-11-18 12:43:39 +01:00
2018-11-18 12:43:39 +01:00
2018-11-26 18:50:12 +01:00
2016-12-30 19:13:39 +01:00
2018-07-13 21:54:41 +02:00
2018-07-13 21:54:41 +02:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-11-18 12:43:39 +01:00
2018-09-26 19:15:42 +02:00
2018-11-18 12:43:39 +01:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00
2018-09-26 19:15:42 +02:00
2016-12-30 19:13:39 +01:00