mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 18:06:44 +02:00
- ported bugfixes for 3.6.0.3 release:
- CMake build system fixes applied during debian testing (like checking for compiler SSE support etc) - Windows client fix for headless server operation - Crash for some systems when trying to use VBO's - Fixed AZERTY keyboard support - Enhanced support for screenshots in g3d viewer - Updated particle code from titi - Bugfix for custom data path override causing compiler error - Bugfix for fontconfig to properly find fonts on systems that support and have fontconfig installed (fixes numerous non debian based systems that reported null font errors) - Minor UI fix on battle end screen when playing 8 players (last player was sometimes chopped off)
This commit is contained in:
@@ -192,7 +192,7 @@ void * LuaArguments::getGenericData(int argumentIndex) const{
|
||||
|
||||
if(lua_isstring(luaState, argumentIndex)) {
|
||||
const char *result = luaL_checkstring(luaState, argumentIndex);
|
||||
printf("\nGENERIC param %d is a string, %s!\n",argumentIndex,result);
|
||||
//printf("\nGENERIC param %d is a string, %s!\n",argumentIndex,result);
|
||||
return (void *)result;
|
||||
}
|
||||
//else if(lua_isnumber(luaState, argumentIndex)) {
|
||||
@@ -202,11 +202,11 @@ void * LuaArguments::getGenericData(int argumentIndex) const{
|
||||
//}
|
||||
else if(lua_isnumber(luaState, argumentIndex)) {
|
||||
lua_Integer result = luaL_checkinteger(luaState, argumentIndex);
|
||||
printf("\nGENERIC param %d is an int, %d!\n",argumentIndex,(int)result);
|
||||
//printf("\nGENERIC param %d is an int, %d!\n",argumentIndex,(int)result);
|
||||
return (void *)result;
|
||||
}
|
||||
else {
|
||||
printf("\nGENERIC param %d is a NULL!\n",argumentIndex);
|
||||
//printf("\nGENERIC param %d is a NULL!\n",argumentIndex);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user