Mercurial > mm7
comparison Game.cpp @ 1994:4088cc908c78
auto change color depth to 16 bit
author | zipi |
---|---|
date | Sun, 03 Nov 2013 11:46:52 +0000 |
parents | b00f5bb7d930 |
children | 30c2b575d25c |
comparison
equal
deleted
inserted
replaced
1993:a9ca837744d7 | 1994:4088cc908c78 |
---|---|
755 if ( GetWindowRect(window->GetApiHandle(), &Rect) && pRenderer->bWindowMode ) | 755 if ( GetWindowRect(window->GetApiHandle(), &Rect) && pRenderer->bWindowMode ) |
756 { | 756 { |
757 WriteWindowsRegistryInt("window X", Rect.left); | 757 WriteWindowsRegistryInt("window X", Rect.left); |
758 WriteWindowsRegistryInt("window Y", Rect.top); | 758 WriteWindowsRegistryInt("window Y", Rect.top); |
759 } | 759 } |
760 window->Delete(); | |
760 WriteWindowsRegistryInt("valAlwaysRun", bAlwaysRun); | 761 WriteWindowsRegistryInt("valAlwaysRun", bAlwaysRun); |
761 pItemsTable->Release(); | 762 pItemsTable->Release(); |
762 pNPCStats->Release(); | 763 pNPCStats->Release(); |
763 | 764 |
764 if (pMouse) | 765 if (pMouse) |