Make own funiture's orders right
Unknown funitures make funiture's orders wrong
This commit is contained in:
parent
5280148ac6
commit
95c4080b4a
@ -1126,9 +1126,9 @@ stock ShowOwnedFurnitureList( playerid, houseid )
|
|||||||
new furniture_item = getFurnitureID( modelid );
|
new furniture_item = getFurnitureID( modelid );
|
||||||
if ( furniture_item != -1 ) {
|
if ( furniture_item != -1 ) {
|
||||||
format( szLargeString, sizeof( szLargeString ), "%s%s\n", szLargeString, g_houseFurniture[ furniture_item ] [ E_NAME ] );
|
format( szLargeString, sizeof( szLargeString ), "%s%s\n", szLargeString, g_houseFurniture[ furniture_item ] [ E_NAME ] );
|
||||||
} else {
|
} /*else {
|
||||||
strcat( szLargeString, "Unknown\n" );
|
strcat( szLargeString, "Unknown\n" );
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
ShowPlayerDialog( playerid, DIALOG_FURNITURE_MAN_SEL, DIALOG_STYLE_TABLIST_HEADERS, "Furniture", szLargeString, "Select", "Back" );
|
ShowPlayerDialog( playerid, DIALOG_FURNITURE_MAN_SEL, DIALOG_STYLE_TABLIST_HEADERS, "Furniture", szLargeString, "Select", "Back" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user