- Converted Strife's Programmer, Loremaster and Thingstoblowup to DECORATE.

- Fixed: Attacking a merchant in Strife didn't alert the enemies.


SVN r1121 (trunk)
This commit is contained in:
Christoph Oelckers 2008-08-06 22:59:24 +00:00
commit 535f209560
17 changed files with 444 additions and 545 deletions

View file

@ -393,7 +393,7 @@ static FActorInfo *CreateNewActor(FScanner &sc, FActorInfo **parentc, Baggage *b
{
sc.ScriptError("Unknown native class '%s'", typeName.GetChars());
}
else if (ti->ParentClass != parent)
else if (ti->ParentClass->NativeClass() != parent->NativeClass())
{
sc.ScriptError("Native class '%s' does not inherit from '%s'",
typeName.GetChars(),parent->TypeName.GetChars());