mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
SAGA2: Print out object names
This commit is contained in:
parent
29ab7ab001
commit
8a9827985d
@ -1417,7 +1417,7 @@ Actor *Actor::newActor(
|
|||||||
|
|
||||||
if (a->flags & temporary) {
|
if (a->flags & temporary) {
|
||||||
incTempActorCount(protoNum);
|
incTempActorCount(protoNum);
|
||||||
debugC(1, kDebugActors, "Actors: Created temp actor %d new count:%d", a->thisID() - 32768, getTempActorCount(protoNum));
|
debugC(1, kDebugActors, "Actors: Created temp actor %d (%s) new count:%d", a->thisID() - 32768, a->objName(), getTempActorCount(protoNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
return a;
|
return a;
|
||||||
@ -1431,7 +1431,7 @@ void Actor::deleteActor(void) {
|
|||||||
uint16 protoNum = (ActorProto *)prototype - actorProtos;
|
uint16 protoNum = (ActorProto *)prototype - actorProtos;
|
||||||
|
|
||||||
decTempActorCount(protoNum);
|
decTempActorCount(protoNum);
|
||||||
debugC(1, kDebugActors, "Actors: Deleting temp actor %d new count:%d", thisID() - 32768, getTempActorCount(protoNum));
|
debugC(1, kDebugActors, "Actors: Deleting temp actor %d (%s) new count:%d", thisID() - 32768, objName(), getTempActorCount(protoNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Kill task
|
// Kill task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user