mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #462 from gamertyp/master
Re-ordered the Gametiles-menu
This commit is contained in:
commit
01cad615a3
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue