mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- comment out lua console debugging
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