Skip to content

Commit

Permalink
Fixed ShowMessageBox
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Mar 3, 2022
1 parent ca58ae3 commit 3df1c62
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ public void ShowWarning(string message)
OriginalDebugManager.ShowWarning(message);
}

public void ShowMessageBox(string lpText, string lpCaption, uint uType)
{
OriginalDebugManager.ShowMessageBox(lpText, lpCaption, uType);
}

public void DisplayDebugMessage(string message)
{
_debugManagerLogger.LogDebug("{message}", message);
Expand Down Expand Up @@ -109,6 +104,12 @@ public void RenderDebugText(float screenX, float screenY, string text, uint colo

public Vec3 GetDebugVector() => OriginalDebugManager.GetDebugVector();

#if e152 || e153 || e154 || e155 || e156 || e157 || e158 || e159 || e1510 || e160 || e161 || e162 || e163 || e164 || e165 || e170 || e171
public void ShowMessageBox(string lpText, string lpCaption, uint uType)
{
OriginalDebugManager.ShowMessageBox(lpText, lpCaption, uType);
}
#endif
#if e164 || e165 || e170 || e171
public void ShowError(string message)
{
Expand Down

0 comments on commit 3df1c62

Please sign in to comment.