Reorder variable placement in CreatePalette

This commit is contained in:
Joshua Peisach 2023-08-22 19:29:04 -04:00
parent 930e3338c9
commit d00caaa698
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -233,8 +233,8 @@ void MxBitmap::vtable30(int, int, int, int, int, int, int)
// OFFSET: LEGO1 0x100bd1c0 // OFFSET: LEGO1 0x100bd1c0
MxPalette *MxBitmap::CreatePalette() MxPalette *MxBitmap::CreatePalette()
{ {
MxPalette *palette = NULL;
MxBool success = FALSE; MxBool success = FALSE;
MxPalette *palette = NULL;
switch (this->m_bitDepth) { switch (this->m_bitDepth) {
case LOWCOLOR: case LOWCOLOR: