File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,23 +50,23 @@ private static void Player_get_CameraTarget(ILContext il)
5050 instr => instr . MatchBeq ( out _ ) ) )
5151 return ;
5252
53- ILCursor cameraOffsetLabelCursor = cursor . Clone ( ) ;
54- ILLabel setCameraOffset = cameraOffsetLabelCursor . DefineLabel ( ) ;
53+ ILCursor setCameraOffsetLabelCursor = cursor . Clone ( ) ;
54+ ILLabel setCameraOffset = setCameraOffsetLabelCursor . DefineLabel ( ) ;
5555
5656 /*
5757 * IL_0036: ldloc.1
5858 * IL_0037: ldarg.0
5959 * IL_0038: ldfld class Celeste.Level Celeste.Player::level
6060 * IL_003d: ldflda valuetype [FNA]Microsoft.Xna.Framework.Vector2 Celeste.Level::CameraOffset
6161 */
62- if ( ! cameraOffsetLabelCursor . TryGotoNextBestFit ( MoveType . Before ,
62+ if ( ! setCameraOffsetLabelCursor . TryGotoNextBestFit ( MoveType . Before ,
6363 instr => instr . MatchLdloc ( 1 ) ,
6464 instr => instr . MatchLdarg ( 0 ) ,
6565 instr => instr . MatchLdfld < Player > ( "level" ) ,
6666 instr => instr . MatchLdflda < Level > ( "CameraOffset" ) ) )
6767 return ;
6868
69- cameraOffsetLabelCursor . MarkLabel ( setCameraOffset ) ;
69+ setCameraOffsetLabelCursor . MarkLabel ( setCameraOffset ) ;
7070
7171 cursor . Emit ( OpCodes . Ldarg_0 ) ;
7272 cursor . EmitDelegate ( IsControllerActive ) ;
You can’t perform that action at this time.
0 commit comments