Merge pull request #462 from gamertyp/master

Re-ordered the Gametiles-menu
This commit is contained in:
Dennis Felsing 2016-05-04 23:47:40 +02:00
commit 01cad615a3
2 changed files with 8 additions and 8 deletions

View file

@ -602,25 +602,25 @@ int CLayerTiles::RenderProperties(CUIRect *pToolBox)
switch(Result)
{
case 4:
Result = TILE_FREEZE;
Result = TILE_THROUGH_CUT;
break;
case 5:
Result = TILE_UNFREEZE;
Result = TILE_FREEZE;
break;
case 6:
Result = TILE_DFREEZE;
Result = TILE_UNFREEZE;
break;
case 7:
Result = TILE_DUNFREEZE;
Result = TILE_DFREEZE;
break;
case 8:
Result = TILE_TELECHECKIN;
Result = TILE_DUNFREEZE;
break;
case 9:
Result = TILE_TELECHECKINEVIL;
Result = TILE_TELECHECKIN;
break;
case 10:
Result = TILE_THROUGH_CUT;
Result = TILE_TELECHECKINEVIL;
default:
break;
}

View file

@ -1307,7 +1307,7 @@ static int s_GametileOpSelected = -1;
int CEditor::PopupSelectGametileOp(CEditor *pEditor, CUIRect View)
{
static const char *s_pButtonNames[] = { "Clear", "Collision", "Death", "Unhookable", "Freeze", "Unfreeze", "Deep Freeze", "Deep Unfreeze", "Check-Tele From", "Evil Check-Tele From", "Hookthrough" };
static const char *s_pButtonNames[] = { "Clear", "Collision", "Death", "Unhookable", "Hookthrough", "Freeze", "Unfreeze", "Deep Freeze", "Deep Unfreeze", "Blue Check-Tele", "Red Check-Tele" };
static unsigned s_NumButtons = sizeof(s_pButtonNames) / sizeof(char*);
CUIRect Button;