Jeck - Jean, please review for cross-platform compatibility. Fix stupid error in GameStateDeckViewer.cpp, also fix windows compile of JGE.cpp.

This commit is contained in:
wagic.jeck
2010-02-14 18:41:08 +00:00
parent cd746e7cbc
commit 350f06fab8
3 changed files with 7 additions and 14 deletions

View File

@@ -48,8 +48,8 @@ GameStateDeckViewer::~GameStateDeckViewer() {
SAFE_DELETE(myDeck->parent);
SAFE_DELETE(myDeck);
}
if(myCollection{
SAFE_DELETE(myCollection->parent)
if(myCollection){
SAFE_DELETE(myCollection->parent);
SAFE_DELETE(myCollection);
}
SAFE_DELETE(filterDeck);
@@ -221,8 +221,8 @@ void GameStateDeckViewer::End()
SAFE_DELETE(menu);
resources.Release(pspIconsTexture);
if(myCollection{
SAFE_DELETE(myCollection->parent)
if(myCollection){
SAFE_DELETE(myCollection->parent);
SAFE_DELETE(myCollection);
}
if(myDeck){