forked from jaildesigner-jailgames/jaildoctors_dilemma
[DOC:29/10/2025] la surface ara se pillarà del .ANI
Tots els arxius .ani i .room retocats per a adequarse als canvis.
This commit is contained in:
@@ -861,9 +861,9 @@ auto Room::setEnemy(Enemy::Data* enemy, const std::string& key, const std::strin
|
||||
bool success = true;
|
||||
|
||||
try {
|
||||
if (key == "tileSetFile") {
|
||||
/*if (key == "tileSetFile") {
|
||||
enemy->surface_path = value;
|
||||
} else if (key == "animation") {
|
||||
} else */if (key == "animation") {
|
||||
enemy->animation_path = value;
|
||||
/* [DOC:29/10/2025] w i h ja no fan falta, se pilla del .ANI
|
||||
} else if (key == "width") {
|
||||
|
||||
Reference in New Issue
Block a user