projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a738be
)
Don't need that comment anymore
author
Samual Lenks <samual@xonotic.org>
Sun, 8 Dec 2013 04:47:38 +0000
(23:47 -0500)
committer
Samual Lenks <samual@xonotic.org>
Sun, 8 Dec 2013 04:47:38 +0000
(23:47 -0500)
qcsrc/common/weapons/config.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/weapons/config.qc
b/qcsrc/common/weapons/config.qc
index e3dfe6f5a8e8dbdc8048ac7c85c329a0af42a50b..bd9cabd107165acf23e8da7d1f616f7b1ffaf9e6 100644
(file)
--- a/
qcsrc/common/weapons/config.qc
+++ b/
qcsrc/common/weapons/config.qc
@@
-12,20
+12,6
@@
void W_Config_Queue_Swap(float root, float child, entity pass)
float W_Config_Queue_Compare(float root, float child, entity pass)
{
return strcmp(wep_config_queue[root], wep_config_queue[child]);
-
- #if 0
- float i, r, c;
- for(i = 1; i <= 100; ++i)
- {
- r = str2chr(wep_config_queue[root], i);
- c = str2chr(wep_config_queue[child], i);
- if(r == c) { continue; }
- else if(c > r) { return -1; }
- else { return 1; }
- }
-
- return 0;
- #endif
}
void Dump_Weapon_Settings(void)