From ed1f937d6cdebd4420e4dd2edd72f151347df835 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 30 Apr 2008 13:40:21 +0000 Subject: removed a writeln() command that might crash usdx if the console is disabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1045 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UVisualizer.pas | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/Game/Code/Classes/UVisualizer.pas b/Game/Code/Classes/UVisualizer.pas index 0b5e690b..906ade65 100644 --- a/Game/Code/Classes/UVisualizer.pas +++ b/Game/Code/Classes/UVisualizer.pas @@ -244,20 +244,13 @@ begin if (not inited) then Init(); - //try - {$IF PROJECTM_VERSION >= 1000000} // >= 1.0 - pm := TProjectM.Create(ProjectMPath + 'config.inp'); - {$ELSE} - pm := TProjectM.Create( - meshX, meshY, fps, textureSize, ScreenW, ScreenH, - ProjectMPath + 'presets', ProjectMPath + 'fonts'); - {$IFEND} - //except - //writeln('Exception:' + floattostr(test)); - // Exit; - //end; - -writeln('huk'); + {$IF PROJECTM_VERSION >= 1000000} // >= 1.0 + pm := TProjectM.Create(ProjectMPath + 'config.inp'); + {$ELSE} + pm := TProjectM.Create( + meshX, meshY, fps, textureSize, ScreenW, ScreenH, + ProjectMPath + 'presets', ProjectMPath + 'fonts'); + {$IFEND} VisualizerStarted := True; -- cgit v1.2.3