summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnObjDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/MsnObjDlg.cpp')
-rw-r--r--Stars45/MsnObjDlg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/MsnObjDlg.cpp b/Stars45/MsnObjDlg.cpp
index 3089c91..384f83e 100644
--- a/Stars45/MsnObjDlg.cpp
+++ b/Stars45/MsnObjDlg.cpp
@@ -11,7 +11,6 @@
Mission Briefing Dialog Active Window class
*/
-#include "MemDebug.h"
#include "MsnObjDlg.h"
#include "PlanScreen.h"
#include "Campaign.h"
@@ -116,7 +115,7 @@ MsnObjDlg::RegisterControls()
scene.AddLight(back_light);
- camview = new(__FILE__,__LINE__) CameraView(beauty, &cam, &scene);
+ camview = new CameraView(beauty, &cam, &scene);
camview->SetProjectionType(Video::PROJECTION_PERSPECTIVE);
camview->SetFieldOfView(2);
@@ -203,7 +202,7 @@ MsnObjDlg::Show()
Model* model = design->models[n-1].at(0);
if (model) {
- ship = new(__FILE__,__LINE__) ShipSolid(0);
+ ship = new ShipSolid(0);
ship->UseModel(model);
ship->CreateShadows(1);
ship->SetSkin(elem->GetSkin());