================ idUsercmdGenLocal::CommandStringUsercmdData Returns the button if the command string is used by the async usercmd generator. ================ */
| 1090 | ================ |
| 1091 | */ |
| 1092 | int idUsercmdGenLocal::CommandStringUsercmdData( const char *cmdString ) { |
| 1093 | for ( userCmdString_t *ucs = userCmdStrings ; ucs->string ; ucs++ ) { |
| 1094 | if ( idStr::Icmp( cmdString, ucs->string ) == 0 ) { |
| 1095 | return ucs->button; |
| 1096 | } |
| 1097 | } |
| 1098 | return UB_NONE; |
| 1099 | } |
| 1100 | |
| 1101 | /* |
| 1102 | ================ |