- did some code cleanup and reorganization in thingdef.cpp.
- Replaced the translation parser for TEXTURES with FRemapTable::AddToTranslation. SVN r1241 (trunk)
This commit is contained in:
parent
6227906072
commit
8a79985f46
7 changed files with 255 additions and 355 deletions
|
|
@ -526,7 +526,14 @@ void FinishActor(FScanner &sc, FActorInfo *info, Baggage &bag)
|
|||
{
|
||||
AActor *defaults = (AActor*)info->Class->Defaults;
|
||||
|
||||
FinishStates (sc, info, defaults, bag);
|
||||
try
|
||||
{
|
||||
FinishStates (info, defaults);
|
||||
}
|
||||
catch (CRecoverableError &err)
|
||||
{
|
||||
sc.ScriptError(err.GetMessage());
|
||||
}
|
||||
InstallStates (info, defaults);
|
||||
if (bag.DropItemSet)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue