More stuff I missed.
This commit is contained in:
parent
4b418e8015
commit
a2f245b189
37 changed files with 67 additions and 71 deletions
|
|
@ -10,7 +10,7 @@ Class SWWMUtility
|
|||
if ( lmp == -1 ) ThrowAbortException("'cvarinfo.base' not found");
|
||||
String dat = Wads.ReadLump(lmp);
|
||||
Array<String> list, ln;
|
||||
// fucking Windows
|
||||
// Windows pls
|
||||
dat.Replace("\r","");
|
||||
list.Clear();
|
||||
dat.Split(list,"\n");
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ extend Class SWWMUtility
|
|||
let lmp = Wads.CheckNumForFullName(fname);
|
||||
if ( lmp == -1 ) return false;
|
||||
String dat = Wads.ReadLump(lmp);
|
||||
// fucking Windows
|
||||
// Windows pls
|
||||
dat.Replace("\r","");
|
||||
Array<String> list;
|
||||
list.Clear();
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ extend Class SWWMUtility
|
|||
return a;
|
||||
}
|
||||
|
||||
// gendered languages are a fuck
|
||||
// because gendered languages
|
||||
static bool SellFemaleItem( Inventory i, String loc = "SWWM_SELLEXTRA_FEM" )
|
||||
{
|
||||
// no gendered string alt
|
||||
|
|
@ -311,7 +311,7 @@ extend Class SWWMUtility
|
|||
if ( i is 'SWWMAmmo' ) return StringTable.Localize("$T_"..SWWMAmmo(i).PickupTag.."S");
|
||||
return i.GetTag();
|
||||
}
|
||||
// because of zscript fuckery with GetDefaultByType
|
||||
// because of zscript weirdness with GetDefaultByType
|
||||
static string GetAmmoTagClass( Class<Inventory> i )
|
||||
{
|
||||
if ( i is 'MagAmmo' ) return StringTable.Localize("$T_"..GetDefaultByType((Class<MagAmmo>)(i)).PickupTag.."S");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue