force TypeName arrays for XToString to be an array of const char*, not CString
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "LuaManager.h"
|
||||
#include "ThemeMetric.h"
|
||||
|
||||
static const CString PlayerNumberNames[] = {
|
||||
static const char *PlayerNumberNames[] = {
|
||||
"P1",
|
||||
"P2",
|
||||
};
|
||||
@@ -20,7 +20,7 @@ void LuaPlayerNumber(lua_State* L)
|
||||
REGISTER_WITH_LUA_FUNCTION( LuaPlayerNumber );
|
||||
|
||||
|
||||
static const CString MultiPlayerNames[] = {
|
||||
static const char *MultiPlayerNames[] = {
|
||||
"P1",
|
||||
"P2",
|
||||
"P3",
|
||||
|
||||
Reference in New Issue
Block a user