mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-18 10:26:15 +01:00
Increased PLAYEDRACK_MAX, to avoid a crash when too many words were
played in a game
This commit is contained in:
parent
d2373e0fc0
commit
ac04544f70
1 changed files with 5 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
/* along with this program; if not, write to the Free Software */
|
||||
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
/* $Id: game_internals.h,v 1.1 2004/04/08 09:43:06 afrab Exp $ */
|
||||
/* $Id: game_internals.h,v 1.2 2004/07/04 18:50:30 ipkiss Exp $ */
|
||||
|
||||
#ifndef _GAMESTRUCT_H
|
||||
#define _GAMESTRUCT_H
|
||||
|
@ -25,7 +25,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define PLAYEDRACK_MAX 50
|
||||
/* Number of played words.
|
||||
* There are only 102 tiles, so we should be safe even if only one tile is
|
||||
* played at each turn... */
|
||||
#define PLAYEDRACK_MAX 102
|
||||
|
||||
struct tgame {
|
||||
Dictionary dic;
|
||||
|
|
Loading…
Reference in a new issue