aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULog.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-29 18:29:42 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-04-29 18:29:42 +0000
commitcc06446d0a651113083478fda94dfaa9a25d1d7e (patch)
tree41fe1ca917d2f7805adcd9e216fee40a19cf43a2 /Game/Code/Classes/ULog.pas
parentbda4fa8e57ca63a1d591433f120b4226d6a5d327 (diff)
downloadusdx-cc06446d0a651113083478fda94dfaa9a25d1d7e.tar.gz
usdx-cc06446d0a651113083478fda94dfaa9a25d1d7e.tar.xz
usdx-cc06446d0a651113083478fda94dfaa9a25d1d7e.zip
Commented some Debuging Outputs in ULog
Fixed a Bug in ButtonCollection that causes a Crash when UpButton is Pressed at the Last Button Added ShortCut E in MainMenu for Editor git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@150 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/ULog.pas')
-rw-r--r--Game/Code/Classes/ULog.pas10
1 files changed, 5 insertions, 5 deletions
diff --git a/Game/Code/Classes/ULog.pas b/Game/Code/Classes/ULog.pas
index 6bffa04e..0b492cb3 100644
--- a/Game/Code/Classes/ULog.pas
+++ b/Game/Code/Classes/ULog.pas
@@ -139,7 +139,7 @@ var
Miliseconds: integer;
ValueText: string;
begin
- if Ini.Debug = 1 then begin
+ //if Ini.Debug = 1 then begin
if not FileAnalyzeO then begin
AssignFile(FileAnalyze, LogPath + 'Analyze.log');
@@ -154,7 +154,7 @@ begin
Flush(FileAnalyze); // try to speed up
end;
- end;
+ //end;
end;
procedure TLog.LogError(Text: string);
@@ -202,8 +202,9 @@ end;
procedure TLog.LogStatus(Log1, Log2: string);
begin
-//asd
- LogError (Log2 + ': ' + Log1);
+ //Just for Debugging
+ //Comment for Release
+ //LogAnalyze (Log2 + ': ' + Log1);
end;
procedure TLog.LogError(Log1, Log2: string);
@@ -224,4 +225,3 @@ begin
end;
end.
- \ No newline at end of file