Next time this goes into the console or something
This commit is contained in:
@@ -380,10 +380,10 @@ static void CG_UseItem( centity_t *cent ) {
|
|||||||
// print a message if the local player
|
// print a message if the local player
|
||||||
if ( es->number == cg.snap->ps.clientNum ) {
|
if ( es->number == cg.snap->ps.clientNum ) {
|
||||||
if ( !itemNum ) {
|
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 {
|
} else {
|
||||||
item = BG_FindItemForHoldable( itemNum );
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user