Restore Gump.AddTextEntry overload without size parameter as sending GumpTextEntryLimited with size = 0 makes it unusable in standard client. (#90)
This commit is contained in:
parent
27e8d823bd
commit
c5c8d8657c
1 changed files with 6 additions and 1 deletions
|
|
@ -262,7 +262,12 @@ namespace Server.Gumps
|
||||||
Add(new GumpRadio(x, y, inactiveID, activeID, initialState, switchID));
|
Add(new GumpRadio(x, y, inactiveID, activeID, initialState, switchID));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddTextEntry(int x, int y, int width, int height, int hue, int entryID, string initialText, int size = 0)
|
public void AddTextEntry(int x, int y, int width, int height, int hue, int entryID, string initialText)
|
||||||
|
{
|
||||||
|
Add( new GumpTextEntry(x, y, width, height, hue, entryID, initialText));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddTextEntry(int x, int y, int width, int height, int hue, int entryID, string initialText, int size)
|
||||||
{
|
{
|
||||||
Add(new GumpTextEntryLimited(x, y, width, height, hue, entryID, initialText, size));
|
Add(new GumpTextEntryLimited(x, y, width, height, hue, entryID, initialText, size));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue