From e93ad2847791222937e26b57da5fd01a527d38cc Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 14:12:16 +0100 Subject: Fix use of uninitialized variable in Fmenuchoixpersos Signed-off-by: Olivier Gayot --- structures.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'structures.h') diff --git a/structures.h b/structures.h index fdb2ecb..19d0a1e 100644 --- a/structures.h +++ b/structures.h @@ -12,9 +12,15 @@ struct surfaces SDL_Surface *Pmenuoptions; SDL_Surface *Pmenujouer; SDL_Surface *Pmenuquitter; + + /* + * the 3 following structures are actually an image of a menu with + * respectively the text "Paladin", "Pretre" or "Voleur" selected + */ SDL_Surface *Pchoixpaladin; SDL_Surface *Pchoixpretre; SDL_Surface *Pchoixvoleur; + SDL_Surface *Tperso[3]; SDL_Surface *Tennemi[5]; SDL_Surface *Ptextechoixmenu; -- cgit v1.2.3