mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
corrected destructors
This commit is contained in:
@@ -19,7 +19,6 @@ namespace battleship{
|
||||
Structure::~Structure(){
|
||||
removeBar(buildStatusForeground);
|
||||
removeBar(buildStatusBackground);
|
||||
Unit::~Unit();
|
||||
}
|
||||
|
||||
void Structure::update(){
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -29,8 +29,6 @@ namespace battleship{
|
||||
Vehicle::~Vehicle(){
|
||||
removeAllPathpoints();
|
||||
delete debugMat;
|
||||
|
||||
Unit::~Unit();
|
||||
}
|
||||
|
||||
void Vehicle::update(){
|
||||
|
||||
Reference in New Issue
Block a user