forked from Mirrorlandia_minetest/minetest
Fix compiler error on MSVC with ENABLE_TOUCH=TRUE
This commit is contained in:
parent
84fb663d6c
commit
7e51e2dea6
@ -35,14 +35,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
using namespace irr::core;
|
||||
|
||||
const char **button_imagenames = (const char *[]) {
|
||||
const char *button_imagenames[] = {
|
||||
"jump_btn.png",
|
||||
"down.png",
|
||||
"zoom.png",
|
||||
"aux1_btn.png"
|
||||
};
|
||||
|
||||
const char **joystick_imagenames = (const char *[]) {
|
||||
const char *joystick_imagenames[] = {
|
||||
"joystick_off.png",
|
||||
"joystick_bg.png",
|
||||
"joystick_center.png"
|
||||
|
@ -85,8 +85,8 @@ typedef enum
|
||||
// Very slow button repeat frequency
|
||||
#define SLOW_BUTTON_REPEAT 1.0f
|
||||
|
||||
extern const char **button_imagenames;
|
||||
extern const char **joystick_imagenames;
|
||||
extern const char *button_imagenames[];
|
||||
extern const char *joystick_imagenames[];
|
||||
|
||||
struct button_info
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user