LAB: Safeguard: Set some variables to null pointer after deleting them

This commit is contained in:
Strangerke 2015-12-21 01:44:29 +01:00 committed by Willem Jan Palenstijn
parent fa222f0ca8
commit 9b6851c1a7

View File

@ -549,6 +549,11 @@ void LabEngine::mainGameLoop() {
delete _roomsFound;
delete[] _rooms;
delete[] _inventory;
_conditions = nullptr;
_roomsFound = nullptr;
_rooms = nullptr;
_inventory = nullptr;
}
void LabEngine::showLab2Teaser() {