]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/command.qh
Merge branch 'master' into terencehill/hud_fixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / command.qh
index beda2288c9ff97e9bc7ee2ad4fcdb2426b263b62..72eaa18dabb3189c7185ced9e66eeb686ddab832 100644 (file)
@@ -7,7 +7,10 @@ const int CMD_REQUEST_USAGE = 2;
 CLASS(Command, Object)
        ATTRIB(Command, m_name, string, string_null);
        ATTRIB(Command, m_description, string, string_null);
-       METHOD(Command, m_invokecmd, void(int request, entity caller, int arguments, string command)) { }
+       METHOD(Command, m_invokecmd, void(Command this, int request, entity caller, int arguments, string command))
+       {
+        TC(Command, this);
+       }
 ENDCLASS(Command)
 
 #endif