mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
DestroyCharacter: print to console when the destroyed character is shared
This commit is contained in:
parent
d017956442
commit
4240b47380
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ SYMBOL_EXPORT struct Character* CreateCharacter(struct Game* game, char* name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SYMBOL_EXPORT void DestroyCharacter(struct Game* game, struct Character* character) {
|
SYMBOL_EXPORT void DestroyCharacter(struct Game* game, struct Character* character) {
|
||||||
PrintConsole(game, "Destroying character %s...", character->name);
|
PrintConsole(game, "Destroying %scharacter %s...", character->shared ? "shared " : "", character->name);
|
||||||
if (!character->shared) {
|
if (!character->shared) {
|
||||||
struct Spritesheet *tmp, *s = character->spritesheets;
|
struct Spritesheet *tmp, *s = character->spritesheets;
|
||||||
while (s) {
|
while (s) {
|
||||||
|
|
Loading…
Reference in a new issue