]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/minigames/minigames.qh
Fix FL_WEAPON flag overlapping FL_JUMPRELEASED. This unintentional change was introdu...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / minigames / minigames.qh
index 7425149f389d9b484c38d089ebef97c2b750f6df..de0baf6b388e4eba2d49dc718f5a2f7eb340ca1c 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef MINIGAMES_H
-#define MINIGAMES_H
+#pragma once
 
 // previous node in a doubly linked list
 .entity list_prev;
@@ -115,11 +114,9 @@ const int MINIG_SF_ALL     = 0xff; // use to resend everything
 
 // Spawn linked entity on the server or local entity on the client
 // This entity will be removed automatically when the minigame ends
-entity msle_spawn(entity minigame_session, string class_name);
+entity msle_spawn(entity minigame_session, entity e);
 
 #include "minigame/all.qh"
 
 int msle_id(string class_name);
 string msle_classname(int id);
-
-#endif