- removed some redundant static_casts.
This commit is contained in:
parent
9c9b2ccf6d
commit
80801d11b1
5 changed files with 9 additions and 10 deletions
|
|
@ -1116,7 +1116,7 @@ static PClassActor *ParseActorHeader(FScanner &sc, Baggage *bag)
|
|||
sc.ScriptMessage("Replaced type '%s' not found for %s", replaceName.GetChars(), info->TypeName.GetChars());
|
||||
}
|
||||
|
||||
ResetBaggage (bag, info == RUNTIME_CLASS(AActor) ? NULL : static_cast<PClassActor *>(info->ParentClass));
|
||||
ResetBaggage (bag, ValidateActor(info->ParentClass));
|
||||
bag->Info = info;
|
||||
bag->Lumpnum = sc.LumpNum;
|
||||
#ifdef _DEBUG
|
||||
|
|
|
|||
|
|
@ -1071,7 +1071,7 @@ DEFINE_PROPERTY(distancecheck, S, Actor)
|
|||
}
|
||||
else if (cv->GetRealType() == CVAR_Int)
|
||||
{
|
||||
static_cast<PClassActor*>(info)->ActorInfo()->distancecheck = static_cast<FIntCVar *>(cv);
|
||||
info->ActorInfo()->distancecheck = static_cast<FIntCVar *>(cv);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue