]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/surface_ufoai/surfacedialog.cpp
Fixing Linux SCons build.
[xonotic/netradiant.git] / plugins / surface_ufoai / surfacedialog.cpp
index 7ff1357a2b185d4349e7f8022859d38f4a9befe2..a8fe23ee86eca0a33d81c6c993b947c93d304276 100644 (file)
@@ -42,7 +42,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 #include "gtkr_vector.h"
 
-std::vector<texdef_to_face_t> g_texdef_face_vector;
+vector<texdef_to_face_t> g_texdef_face_vector;
 
 inline texdef_to_face_t* get_texdef_face_list()
 {
@@ -262,7 +262,7 @@ void IsFaceConflicting()
   {
     temp_texdef_face_list = get_texdef_face_list()->next;
 
-    for (temp_texdef_face_list; temp_texdef_face_list; temp_texdef_face_list = temp_texdef_face_list->next)
+    for (; temp_texdef_face_list; temp_texdef_face_list = temp_texdef_face_list->next)
     {
       tmp_texdef = &temp_texdef_face_list->texdef;
       if ( texdef_SI_values.shift[0] != tmp_texdef->shift[0] )