Next time this goes into the console or something

This commit is contained in:
Izuru Yakumo
2025-07-22 19:47:24 -03:00
parent 271fd0b969
commit d9840aab89

View File

@@ -380,10 +380,10 @@ static void CG_UseItem( centity_t *cent ) {
// print a message if the local player
if ( es->number == cg.snap->ps.clientNum ) {
if ( !itemNum ) {
CG_CenterPrint( "No item to use", SCREEN_HEIGHT * 0.30, BIGCHAR_WIDTH );
CG_CenterPrint( "No item to use", SCREEN_HEIGHT * 0.30, MEDIUMCHAR_WIDTH );
} else {
item = BG_FindItemForHoldable( itemNum );
CG_CenterPrint( va("Use %s", item->pickup_name), SCREEN_HEIGHT * 0.30, BIGCHAR_WIDTH );
CG_CenterPrint( va("Use %s", item->pickup_name), SCREEN_HEIGHT * 0.30, MEDIUMCHAR_WIDTH );
}
}