Fix warning, remove hard length

This commit is contained in:
Glenn Maynard
2003-05-28 03:53:20 +00:00
parent a5d570067e
commit 8093060a90
+2 -2
View File
@@ -68,7 +68,7 @@ void InputMapper::AddDefaultMappingsForCurrentGameIfUnmapped()
struct AutoJoyMapping
{
Game game;
char sDeviceDescription[64];
const char *sDeviceDescription;
bool bIgnoreAxes;
int numMappings;
struct {
@@ -160,7 +160,7 @@ void InputMapper::AutoMapJoysticksForCurrentGame()
if( gc == GAME_CONTROLLER_INVALID )
continue;
for( unsigned k=0; k<mapping.numMappings; k++ )
for( int k=0; k<mapping.numMappings; k++ )
{
DeviceInput di( device, mapping.mapping[k].deviceButton );
GameInput gi( gc, mapping.mapping[k].gb );