Don't save Teeka - there is never an instance in the game where he needs to be persisted.
This commit is contained in:
parent
ceaced512f
commit
9bafce978f
|
@ -36,6 +36,8 @@ Entity *initTeeka(void)
|
||||||
|
|
||||||
u = createUnit();
|
u = createUnit();
|
||||||
|
|
||||||
|
u->unitType = "Teeka";
|
||||||
|
|
||||||
u->type = ET_TEEKA;
|
u->type = ET_TEEKA;
|
||||||
|
|
||||||
u->flags |= EF_IMMUNE;
|
u->flags |= EF_IMMUNE;
|
||||||
|
|
|
@ -157,6 +157,7 @@ static int canPersistEntity(void)
|
||||||
{
|
{
|
||||||
case ET_NONE:
|
case ET_NONE:
|
||||||
case ET_BOB:
|
case ET_BOB:
|
||||||
|
case ET_TEEKA:
|
||||||
case ET_DECORATION:
|
case ET_DECORATION:
|
||||||
case ET_CONSUMABLE:
|
case ET_CONSUMABLE:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue