Expanded size for hud text strings to 64.
This commit is contained in:
parent
4e043de1f1
commit
303326d256
1 changed files with 2 additions and 2 deletions
|
@ -236,10 +236,10 @@ extern float HUD_matrix[16];
|
||||||
class fgText {
|
class fgText {
|
||||||
private:
|
private:
|
||||||
float x, y;
|
float x, y;
|
||||||
char msg[32];
|
char msg[64];
|
||||||
public:
|
public:
|
||||||
fgText( float x = 0, float y = 0, char *c = NULL )
|
fgText( float x = 0, float y = 0, char *c = NULL )
|
||||||
: x(x), y(y) {strncpy(msg,c,32-1);}
|
: x(x), y(y) {strncpy(msg,c,64-1);}
|
||||||
|
|
||||||
fgText( const fgText & image )
|
fgText( const fgText & image )
|
||||||
: x(image.x), y(image.y) {strcpy(msg,image.msg);}
|
: x(image.x), y(image.y) {strcpy(msg,image.msg);}
|
||||||
|
|
Loading…
Add table
Reference in a new issue