X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_multiplayer_profile.qc;h=f9615d21ccdde1b77b0701a7342f17f33f26649a;hp=8c24885439e8ec9b16ac9aff2837f032fc0289dd;hb=263c592e468eeeffb2755d204b21eb13e398adac;hpb=952bf19e1d4069c46db013111e815d736aa9d064 diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc index 8c24885439..f9615d21cc 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_profile.qc @@ -1,5 +1,7 @@ -#ifdef INTERFACE -CLASS(XonoticProfileTab) EXTENDS(XonoticTab) +#ifndef DIALOG_MULTIPLAYER_PROFILE_H +#define DIALOG_MULTIPLAYER_PROFILE_H +#include "tab.qc" +CLASS(XonoticProfileTab, XonoticTab) METHOD(XonoticProfileTab, fill, void(entity)) METHOD(XonoticProfileTab, draw, void(entity)) ATTRIB(XonoticProfileTab, title, string, _("Profile")) @@ -16,7 +18,7 @@ entity makeXonoticProfileTab(); entity makeXonoticProfileTab() { entity me; - me = spawnXonoticProfileTab(); + me = NEW(XonoticProfileTab); me.configureDialog(me); return me; }