From fc281fdf5f17e53ceda9ad74cb11f327b33f41c9 Mon Sep 17 00:00:00 2001 From: Michael Schwartz Date: Mon, 9 Nov 2020 06:40:44 -0800 Subject: [PATCH] bug fix --- Evade2/src/GGame.cpp | 1 + Evade2/src/common/GStarfield.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Evade2/src/GGame.cpp b/Evade2/src/GGame.cpp index 40e1aea..8b1b2e4 100644 --- a/Evade2/src/GGame.cpp +++ b/Evade2/src/GGame.cpp @@ -26,6 +26,7 @@ TBool GGame::mDebug = EFalse; GGame::GGame() { gGame = this; printf("Construct GGame\n"); + gCamera = new GCamera(); gVectorFont = new GVectorFont(); mDifficulty = 1; gGameEngine = ENull; diff --git a/Evade2/src/common/GStarfield.cpp b/Evade2/src/common/GStarfield.cpp index 72b1713..db5bf37 100644 --- a/Evade2/src/common/GStarfield.cpp +++ b/Evade2/src/common/GStarfield.cpp @@ -6,7 +6,6 @@ #include "GCamera.h" GStarfield::GStarfield() : BPlayfield() { - gCamera = new GCamera(); for (TInt i = 0; i < NUM_STARS; i++) { InitStar(i); }