diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-30 13:40:21 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-30 13:40:21 +0000 |
commit | ed1f937d6cdebd4420e4dd2edd72f151347df835 (patch) | |
tree | 6c58a9e3c414cbc73f2c40656d2cd8cb758e4ffb | |
parent | 59aa6b3bdf03ee68d25e5b06d175866e7bcb5723 (diff) | |
download | usdx-ed1f937d6cdebd4420e4dd2edd72f151347df835.tar.gz usdx-ed1f937d6cdebd4420e4dd2edd72f151347df835.tar.xz usdx-ed1f937d6cdebd4420e4dd2edd72f151347df835.zip |
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
-rw-r--r-- | Game/Code/Classes/UVisualizer.pas | 21 |
1 files 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; |