]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/secret.qh
Cleanse the touch functions of the other evil
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / secret.qh
index c09da6b96563f883e8b5f7d0124b7ce6f48e953b..c2a155ce72e0114e790e092d56dceacca0f25c74 100644 (file)
@@ -13,12 +13,12 @@ float secrets_total;
 float secrets_found;
 
 
-.float stat_secrets_total;
-.float stat_secrets_found;
+.float stat_secrets_total = _STAT(SECRETS_TOTAL);
+.float stat_secrets_found = _STAT(SECRETS_FOUND);
 
 /**
  * update secrets status.
  */
-void secrets_setstatus();
+void secrets_setstatus(entity this);
 #endif
 #endif