mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Fix: overly long loadscreen hints caused crashes when displayed in log. Maximum loadscreen length is now 190 (was 256).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6773 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -35,7 +35,7 @@ extern PROGRESSBAR *pBar[ MAX_PROGRESSBARS ];
|
||||
typedef struct
|
||||
{
|
||||
UINT16 uiIndex;
|
||||
CHAR16 szName[256]; // name of these clothes
|
||||
CHAR16 szName[190]; // text of the hint. Note that this size + any text it is used in msut be < than CHAR16 pzText[ 200 ]; of VIDEO_OVERLAY_DESC if you display this in any logs
|
||||
UINT32 usFlags; // flags that can be used to determine wether a hint is currently appropriate
|
||||
BOOLEAN fAlreadyShown; // to remember if this hint has already been shown in this game (reset on starting exe)
|
||||
} LOADSCREENHINT_STRUCT;
|
||||
|
||||
Reference in New Issue
Block a user