]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/waypointsprites.qc
fix compile with fteqcc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / waypointsprites.qc
index d3d57aba9e8cbcd52ad7606466f912dc394032a9..7e9b91d6b81d65daa657a544410ce25fb87e97f9 100644 (file)
@@ -656,6 +656,7 @@ void Ent_WaypointSprite()
        self.draw2d = Draw_WaypointSprite;
 
        InterpolateOrigin_Undo();
+       self.iflags |= IFLAG_ORIGIN;
 
        if(sendflags & 0x80)
        {
@@ -688,6 +689,7 @@ void Ent_WaypointSprite()
                self.origin_x = ReadCoord();
                self.origin_y = ReadCoord();
                self.origin_z = ReadCoord();
+               setorigin(self, self.origin);
        }
 
        if(sendflags & 1)