diff --git a/Export_Code/gml_Object_oClient_Alarm_11.gml b/Export_Code/gml_Object_oClient_Alarm_11.gml index 7c96e84..f987b7a 100644 --- a/Export_Code/gml_Object_oClient_Alarm_11.gml +++ b/Export_Code/gml_Object_oClient_Alarm_11.gml @@ -1,6 +1,6 @@ var size, type, alignment, bufferSize, result, playerState; if instance_exists(oCharacter) - playerState = oCharacter.state + playerState = oCharacter.sball else playerState = 0 buffer_delete(buffer) diff --git a/Export_Code/gml_Object_oClient_Step_0.gml b/Export_Code/gml_Object_oClient_Step_0.gml index 0edabd9..c1883a2 100644 --- a/Export_Code/gml_Object_oClient_Step_0.gml +++ b/Export_Code/gml_Object_oClient_Step_0.gml @@ -731,7 +731,7 @@ if (((!global.ingame) || (!global.opshowhud)) && global.saxmode) sax = arrData[3] spectator = arrData[5] playerState = arrData[6] - if (playerState == 27) + if (playerState == 1) { xDiff *= 2 yDiff *= 2 diff --git a/Export_Code/gml_Script_draw_gui.gml b/Export_Code/gml_Script_draw_gui.gml index 9d7b975..765e4d3 100644 --- a/Export_Code/gml_Script_draw_gui.gml +++ b/Export_Code/gml_Script_draw_gui.gml @@ -451,7 +451,7 @@ if (global.classicmode == 0 && global.opshowhud) sax = arrData[3] spectator = arrData[5] playerState = arrData[6] - if (playerState == 27) + if (playerState == 1) { xDiff *= 2 yDiff *= 2 @@ -520,7 +520,7 @@ if (global.classicmode == 0 && global.opshowhud) } } } - if (oCharacter.state == 27) + if (oCharacter.sball == 1) global.scannerSprite = 1883 if global.ophudshowmetrcount { @@ -571,11 +571,11 @@ if (global.classicmode == 0 && global.opshowhud) else if (abs(xDiff) <= 2 && abs(yDiff) <= 1) draw_sprite_ext(sMultitroidMapIconMiepee, 0, (((276 + widescreen_space) + 16) - (xDiff * 8)), (12 - (yDiff * 8)), 1, 1, direction, c_white, oControl.malpha) } - else if (abs(xDiff) <= 2 && abs(yDiff) <= 1 && oCharacter.state != 27) + else if (abs(xDiff) <= 2 && abs(yDiff) <= 1 && oCharacter.sball != 1) { if ((!spectator) || sax) { - if (playerState != 27) + if (playerState != 1) draw_sprite_ext(oControl.MultitroidMapIcon, (arrData[0] - 1), (((276 + widescreen_space) + 16) - (xDiff * 8)), (12 - (yDiff * 8)), 1, 1, direction, c_white, oControl.malpha) } }