mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
This commit is contained in:
@@ -365,7 +365,7 @@ void PreviewView::OnMouseWheel(int x, int y, int d)
|
|||||||
|
|
||||||
void PreviewView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt)
|
void PreviewView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt)
|
||||||
{
|
{
|
||||||
if ((key == KEY_ENTER || key == KEY_RETURN) && !addCommentBox->IsFocused())
|
if ((key == KEY_ENTER || key == KEY_RETURN) && (!addCommentBox || !addCommentBox->IsFocused()))
|
||||||
openButton->DoAction();
|
openButton->DoAction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,7 +28,7 @@ Element_CRAY::Element_CRAY()
|
|||||||
|
|
||||||
Temperature = R_TEMP+0.0f +273.15f;
|
Temperature = R_TEMP+0.0f +273.15f;
|
||||||
HeatConduct = 0;
|
HeatConduct = 0;
|
||||||
Description = "Particle Ray Emitter. Creates a beam of particles set by ctype, range is set by tmp2";
|
Description = "Particle Ray Emitter. Creates a beam of particles set by ctype, range is set by tmp";
|
||||||
|
|
||||||
State = ST_SOLID;
|
State = ST_SOLID;
|
||||||
Properties = TYPE_SOLID|PROP_LIFE_DEC;
|
Properties = TYPE_SOLID|PROP_LIFE_DEC;
|
||||||
|
Reference in New Issue
Block a user