]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/playermodel.c
let's USE the super keyword! yay!
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / playermodel.c
index 27d5721afd3c6d432e50fc50e15049989c0a7548..6f4851c99460046744f5e045ec9205004dd13c75 100644 (file)
@@ -161,7 +161,7 @@ void drawXonoticPlayerModelSelector(entity me)
        float i, n;
        vector o;
 
-       drawImage(me);
+       SUPER(XonoticPlayerModelSelector).draw(me);
 
        // draw text on the image, handle \n in the description
        draw_CenterText('0.5 0 0', me.currentModelTitle, me.realFontSize * (me.titleFontSize / me.fontSize), SKINCOLOR_MODELTITLE, SKINALPHA_MODELTITLE, FALSE);
@@ -176,7 +176,7 @@ void drawXonoticPlayerModelSelector(entity me)
 
 void resizeNotifyXonoticPlayerModelSelector(entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize)
 {
-       resizeNotifyImage(me, relOrigin, relSize, absOrigin, absSize);
+       SUPER(XonoticPlayerModelSelector).resizeNotify(me, relOrigin, relSize, absOrigin, absSize);
        me.realFontSize_y = me.fontSize / absSize_y;
        me.realFontSize_x = me.fontSize / absSize_x;
 }