Refactoring patch by DevHC
This commit is contained in:
1 parent
21668c0616
commit
fef4d12d68
31 files changed
+60
-98
No files matched your search
+2
-2
@@ -1258,7 +1258,7 @@ commandDef_t commandList[] =
|
||||
{"orbit", &Script_Orbit} // group/name
|
||||
};
|
||||
|
||||
int scriptCommandCount = sizeof(commandList) / sizeof(commandDef_t);
|
||||
int scriptCommandCount = ARRAY_LEN(commandList);
|
||||
|
||||
|
||||
void Item_RunScript(itemDef_t *item, const char *s) {
|
||||
@@ -3192,7 +3192,7 @@ static bind_t g_bindings[] =
|
||||
};
|
||||
|
||||
|
||||
static const int g_bindCount = sizeof(g_bindings) / sizeof(bind_t);
|
||||
static const int g_bindCount = ARRAY_LEN(g_bindings);
|
||||
|
||||
#ifndef MISSIONPACK
|
||||
static configcvar_t g_configcvars[] =
|
||||
|
||||
Reference in new issue
Block a user