void Draw_ArcBeam()
{
- InterpolateOrigin_Do();
+ if(!self.beam_usevieworigin)
+ {
+ InterpolateOrigin_Do();
+ }
// origin = beam starting origin
// v_angle = wanted/aim direction
float sf = ReadByte();
entity flash;
- // self.iflags = IFLAG_ORIGIN | IFLAG_ANGLES | IFLAG_V_ANGLE; // why doesn't this work?
- self.iflags = IFLAG_ORIGIN;
-
- InterpolateOrigin_Undo();
-
if(isnew)
{
// calculate shot origin offset from gun alignment
}
}
+ if(!self.beam_usevieworigin)
+ {
+ // self.iflags = IFLAG_ORIGIN | IFLAG_ANGLES | IFLAG_V_ANGLE; // why doesn't this work?
+ self.iflags = IFLAG_ORIGIN;
+
+ InterpolateOrigin_Undo();
+ }
+
if(sf & 2) // starting location
{
self.origin_x = ReadCoord();
}
}
- InterpolateOrigin_Note();
+ if(!self.beam_usevieworigin)
+ {
+ InterpolateOrigin_Note();
+ }
#if 0
printf(