mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
obtain iw4x.dll from iw4x/iw4x-client
This commit is contained in:
@@ -11,3 +11,7 @@ pub fn stdin() -> String {
|
||||
std::io::stdin().read_line(&mut input).unwrap();
|
||||
input.trim().to_string()
|
||||
}
|
||||
|
||||
pub fn rev_to_int(rev: &str) -> u16 {
|
||||
rev.strip_prefix('r').unwrap().parse::<u16>().unwrap_or(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user