idk
This commit is contained in:
@@ -50,9 +50,9 @@ void moduleInput(scriptcontext_t *context) {
|
||||
|
||||
// Set input information
|
||||
for(inputaction_t act = INPUT_ACTION_NULL + 1; act < INPUT_ACTION_COUNT; act++) {
|
||||
const char_t *actName = INPUT_ACTION_NAMES[act];
|
||||
assertStrLenMax(actName, 64, "Input action name too long for buffer");
|
||||
snprintf(buffer, sizeof(buffer), "INPUT_ACTION_%s = %d\n", actName, act);
|
||||
const char_t *actId = INPUT_ACTION_IDS[act];
|
||||
assertStrLenMax(actId, 64, "Input action name too long for buffer");
|
||||
snprintf(buffer, sizeof(buffer), "INPUT_ACTION_%s = %d\n", actId, act);
|
||||
scriptContextExec(context, buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user