File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ nanode_t *BSP_NewNode(void)
9090 return node ;
9191}
9292
93- void BSP_CalcOffset (seg_t * seg )
93+ void BSP_CalcOffset (seg_t * seg )
9494{
9595 // compute which side of the linedef the seg is on
9696 line_t * ld = seg -> linedef ;
Original file line number Diff line number Diff line change @@ -165,14 +165,14 @@ static void P_XYMovement(mobj_t *mo)
165165 player_t * player ;
166166 fixed_t xmove , ymove ;
167167 mobjtype_t type ;
168- int flags ;
168+ int flags = mo -> flags ;
169169 int flags2 ;
170170 bool corpse ;
171171 int stepdir = 0 ;
172172
173173 if (!(mo -> momx | mo -> momy ))
174174 {
175- if (mo -> flags & MF_SKULLFLY )
175+ if (flags & MF_SKULLFLY )
176176 {
177177 // the skull slammed into something
178178 mo -> flags &= ~MF_SKULLFLY ;
@@ -185,7 +185,6 @@ static void P_XYMovement(mobj_t *mo)
185185
186186 player = mo -> player ;
187187 type = mo -> type ;
188- flags = mo -> flags ;
189188 flags2 = mo -> flags2 ;
190189 corpse = ((flags & MF_CORPSE ) && type != MT_BARREL );
191190
Original file line number Diff line number Diff line change @@ -3393,7 +3393,11 @@ static nodeformat_t P_CheckNodeFormat(int lumpnum)
33933393 I_Error ("Hexen format maps are not supported." );
33943394
33953395 if (M_CheckParm ("-bsp" ))
3396+ {
33963397 format = NANOBSP ;
3398+ C_Output ("A " BOLD ("-bsp" ) " parameter was found on the command-line. "
3399+ "The nodes of all maps will be rebuilt." );
3400+ }
33973401 else if ((subsize = W_LumpLengthWithName (lumpnum + ML_SSECTORS , "SSECTORS" )) >= sizeof (mapsubsector_t ))
33983402 {
33993403 n = W_CacheLumpNum (lumpnum + ML_SSECTORS );
You can’t perform that action at this time.
0 commit comments