X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fgamesettings.qh;h=291b55b27aefff385e756c294ffcfc9a4b4067a9;hb=9a753b4e954e98ff17d0730ab0c4798f85a4fc3e;hp=80133b8b374dd7bb9d7dfa86373cfa3a984f06e3;hpb=d271f27a5ac351a3a7b39636932f6d661492be1d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/gamesettings.qh b/qcsrc/menu/gamesettings.qh index 80133b8b3..291b55b27 100644 --- a/qcsrc/menu/gamesettings.qh +++ b/qcsrc/menu/gamesettings.qh @@ -5,8 +5,9 @@ #include "xonotic/tab.qh" REGISTRY(Settings, BITS(3)) -#define Settings_from(i) _Settings_from(i, NULL) REGISTER_REGISTRY(Settings) + +REGISTRY_DEFINE_GET(Settings, NULL) #define REGISTER_SETTINGS(id, impl) \ LAZY_NEW(id, impl) \ REGISTER(Settings, MENU, id, m_id, NEW(Lazy, LAZY(id)))