X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmodels%2Fall.qh;h=c4f865ddb9f056c1b35008d1eb814adeaab988d9;hp=ce98629411fd0cd6c3ce798a813acf5dd0fd602f;hb=HEAD;hpb=d492869ab1f18e05121529b7bcffcb637d13994c diff --git a/qcsrc/common/models/all.qh b/qcsrc/common/models/all.qh index ce98629411..c4f865ddb9 100644 --- a/qcsrc/common/models/all.qh +++ b/qcsrc/common/models/all.qh @@ -3,7 +3,6 @@ #include "model.qh" REGISTRY(Models, BITS(9)) -#define Models_from(i) _Models_from(i, MDL_Null) REGISTER_REGISTRY(Models) #define MODEL(name, path) \ @@ -20,4 +19,5 @@ PRECACHE(Models) { } MODEL(Null, "null"); +REGISTRY_DEFINE_GET(Models, MDL_Null) #include "all.inc"