- Fixed: APlayerPawn::GiveDefaultInventory() used two different variables

both named item.
- Switched ddraw.dll to be delay loaded. With D3D9 now being the default
  display code, this avoids wasting time loading DDraw if it isn't needed.
- Fixed: The Win32 I_FatalError() did not set alreadyThrown, so it could get
  stuck in an endless fatal error loop.

SVN r433 (trunk)
This commit is contained in:
Randy Heit 2006-12-29 20:28:23 +00:00
commit 82cf5d703f
8 changed files with 594 additions and 570 deletions

View file

@ -890,7 +890,7 @@ void APlayerPawn::GiveDefaultInventory ()
}
else
{
AInventory *item = static_cast<AInventory *>(Spawn (ti, 0,0,0, NO_REPLACE));
item = static_cast<AInventory *>(Spawn (ti, 0,0,0, NO_REPLACE));
item->Amount = di->amount;
if (item->IsKindOf (RUNTIME_CLASS (AWeapon)))
{