corrected destructors

This commit is contained in:
devZoGok
2023-12-28 19:54:36 +02:00
parent ac2e46bee2
commit 0a4f9218e2
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -19,7 +19,6 @@ namespace battleship{
Structure::~Structure(){
removeBar(buildStatusForeground);
removeBar(buildStatusBackground);
Unit::~Unit();
}
void Structure::update(){
+1 -1
View File
@@ -68,7 +68,7 @@ namespace battleship{
};
Unit(Player*, int, vb01::Vector3, vb01::Quaternion);
~Unit();
virtual ~Unit();
virtual void update();
virtual void blowUp();
virtual void halt();
-2
View File
@@ -29,8 +29,6 @@ namespace battleship{
Vehicle::~Vehicle(){
removeAllPathpoints();
delete debugMat;
Unit::~Unit();
}
void Vehicle::update(){