Skip to content

Commit 4980c0f

Browse files
committed
Fixed bug in Control Menu code relative to Joystick name.
1 parent d3ed62d commit 4980c0f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

AstroMenaceSource/Game.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ extern float But[10];
391391

392392
void ConfControlMenu(float ContentTransp, float *ButtonTransp1, float *LastButtonUpdateTime1);
393393
const char * MouseCodeName(char Num);
394-
const char * JoystickCodeName(char Num);
394+
const char * JoystickCodeName(int Num);
395395
void CheckMouseKeybJState();
396396

397397

AstroMenaceSource/Menu/Menu_ConfControl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const char * MouseCodeName(char Num)
8585

8686

8787
char JoystickCodeNameText[12];/*"JoystickXXX"*/
88-
const char * JoystickCodeName(char Num)
88+
const char * JoystickCodeName(int Num)
8989
{
9090
// кнопки еще нет
9191
if (Num == -1) return "?";

AstroMenaceSource/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define CONFIG_H
3030

3131
#define GAME_VERSION "1.3.2 svn"
32-
#define GAME_BUILD 130610
32+
#define GAME_BUILD 130619
3333

3434

3535
// VBO OpenGL extention support switcher (if defined - game will detect and use VBO) Game could crash

0 commit comments

Comments
 (0)