]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cheats.qc
First part of a fix for untranslated item ammo names on drop: hack the item name...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cheats.qc
index 978b3fcb74ecc84721967e95b7ac5e3302facd6b..e894e85b4fa045026bd09683b8a5dd57f0e02327 100644 (file)
@@ -46,7 +46,7 @@ void Drag_MoveDrag(entity from, entity to) { }
 
 #else
 
-.float maycheat;
+.bool maycheat;
 float gamestart_sv_cheats;
 
 
@@ -60,7 +60,7 @@ void CheatShutdown()
 {
 }
 
-float CheatsAllowed(entity this, float i, float argc, float fr) // the cheat gets passed as argument for possible future ACL checking
+float CheatsAllowed(entity this, float i, int argc, float fr) // the cheat gets passed as argument for possible future ACL checking
 {
        // dead people cannot cheat
        if(IS_DEAD(this))