浏览代码

Removed SCB_BODY code (#9086)

Removed code that was added, so that support could be added, if it would ever be needed in the future.
Was never really introduced and support does not seem necessary for the time being.
Lemongrass3110 2 月之前
父节点
当前提交
37f03d21ba
共有 1 个文件被更改,包括 0 次插入17 次删除
  1. 0 17
      src/map/status.cpp

+ 0 - 17
src/map/status.cpp

@@ -12805,16 +12805,6 @@ int32 status_change_start(struct block_list* src, struct block_list* bl,enum sc_
 		calc_flag.reset(SCB_DYE);
 		calc_flag.reset(SCB_DYE);
 	}
 	}
 
 
-	/*if (calc_flag[SCB_BODY])// Might be needed in the future. [Rytech]
-	{	//Reset body style
-		if (vd && vd->body_style)
-		{
-			val4 = vd->body_style;
-			clif_changelook(bl,LOOK_BODY2,0);
-		}
-		calc_flag.reset(SCB_BODY);
-	}*/
-
 	if (!(flag&SCSTART_NOICON) && !(flag&SCSTART_LOADED && scdb->flag[SCF_DISPLAYPC] || scdb->flag[SCF_DISPLAYNPC])) {
 	if (!(flag&SCSTART_NOICON) && !(flag&SCSTART_LOADED && scdb->flag[SCF_DISPLAYPC] || scdb->flag[SCF_DISPLAYNPC])) {
 		int32 status_icon = scdb->icon;
 		int32 status_icon = scdb->icon;
 
 
@@ -13683,13 +13673,6 @@ int32 status_change_end(struct block_list* bl, enum sc_type type, int32 tid)
 		calc_flag.reset(SCB_DYE);
 		calc_flag.reset(SCB_DYE);
 	}
 	}
 
 
-	/*if (calc_flag[SCB_BODY])// Might be needed in the future. [Rytech]
-	{	//Restore body style
-		if (vd && !vd->body_style && sce->val4)
-			clif_changelook(bl,LOOK_BODY2,sce->val4);
-		calc_flag.reset(SCB_BODY);
-	}*/
-
 	// On Aegis, when turning off a status change, first goes the sc packet, then the option packet.
 	// On Aegis, when turning off a status change, first goes the sc packet, then the option packet.
 	int32 status_icon = scdb->icon;
 	int32 status_icon = scdb->icon;