Various fixes and improvements regarding CUIEditBox which is used for the cheat command prompt and for entering the save file name.
Add a little prompt text to prefix the cheat console text. Otherwise the text cursor in the empty console is nearly impossible to see. This makes it clear that the cheat console is opened and moves the first entered letter a bit to the right, making it easier to read.
Using ESC in the cheat console now only quits the console and does not pause the game
Using ESC in the save menu now only returns to the pause menu and does not return to the game
Ensure that psz in ExecuteCheat() is never nullptr. Otherwise the game would crash when entering a parameterized cheat without parameters. This is also a bug in vanilla Trespasser.
Various fixes and improvements regarding
CUIEditBox
which is used for the cheat command prompt and for entering the save file name.psz
inExecuteCheat()
is nevernullptr
. Otherwise the game would crash when entering a parameterized cheat without parameters. This is also a bug in vanilla Trespasser.