X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fmenudefs.qh;h=036d87ff2fa8e7a213932d69fc66e84e30700a94;hb=64f2b309aa5be8aafb9ad2137174bb6d99aeb876;hp=7d4dcc6af589598f1fa5abd72f5f29c4dee8790e;hpb=c14f2b067c9ab0b4fb8a5b7805c8679be61f1fe0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/menudefs.qh b/qcsrc/dpdefs/menudefs.qh index 7d4dcc6af..036d87ff2 100644 --- a/qcsrc/dpdefs/menudefs.qh +++ b/qcsrc/dpdefs/menudefs.qh @@ -1,5 +1,4 @@ -#ifndef MENUDEFS_H -#define MENUDEFS_H +#pragma once #pragma noref 1 @@ -19,6 +18,8 @@ #undef spawn +#define localcmd cmd + int(string str, string sub, int startpos) _strstrofs = #221; #define strstrofs _strstrofs int(string str, int ofs) _str2chr = #222; @@ -38,6 +39,6 @@ int(string s1, string s2, int len) _strncasecmp = #230; int() _buf_create = #440; #define buf_create _buf_create -#pragma noref 0 +bool(entity ent) wasfreed = #353; -#endif +#pragma noref 0