]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/item/inputbox.qc
Replace more `vector_[xyz]` with `vector.[xyz]`
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / inputbox.qc
index e85cfa0e8282113f9a15a95837498acd8fe7f871..d3f68152e3fc8812736a54ea62dc8e44b4636036 100644 (file)
@@ -304,17 +304,17 @@ void InputBox_draw(entity me)
                                        component = HEXDIGIT_TO_DEC(substring(me.text, i+2, 1));
                                        if (component >= 0) // ^xr found
                                        {
-                                               theTempColor_x = component/15;
+                                               theTempColor.x = component/15;
 
                                                component = HEXDIGIT_TO_DEC(substring(me.text, i+3, 1));
                                                if (component >= 0) // ^xrg found
                                                {
-                                                       theTempColor_y = component/15;
+                                                       theTempColor.y = component/15;
 
                                                        component = HEXDIGIT_TO_DEC(substring(me.text, i+4, 1));
                                                        if (component >= 0) // ^xrgb found
                                                        {
-                                                               theTempColor_z = component/15;
+                                                               theTempColor.z = component/15;
                                                                theColor = theTempColor;
                                                                w = draw_TextWidth(substring(me.text, i, 5), 0, me.realFontSize);