mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- changed ACS Checkweapon to compare names instead of strings.
SVN r3107 (trunk)
This commit is contained in:
parent
e4b236cbcc
commit
b3a7c70c01
1 changed files with 11 additions and 12 deletions
|
@ -6033,8 +6033,7 @@ int DLevelScript::RunScript ()
|
|||
}
|
||||
else
|
||||
{
|
||||
STACK(1) = 0 == stricmp (FBehavior::StaticLookupString (STACK(1)),
|
||||
activator->player->ReadyWeapon->GetClass()->TypeName.GetChars());
|
||||
STACK(1) = activator->player->ReadyWeapon->GetClass()->TypeName == FName(FBehavior::StaticLookupString (STACK(1)), true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue