git » fp-git.git » commit 3f625e1

Improved the loose tile object

author ecalot
2005-02-18 21:40:43 UTC
committer ecalot
2005-02-18 21:40:43 UTC
parent 4634bc662fb26aea837f595f9a1a6ce574afe50d

Improved the loose tile object

FP/src/conf/tiles.conf +1 -0
FP/src/res/maps.c +1 -1

diff --git a/FP/src/conf/tiles.conf b/FP/src/conf/tiles.conf
index 7d34b3f..54ba94e 100644
--- a/FP/src/conf/tiles.conf
+++ b/FP/src/conf/tiles.conf
@@ -62,6 +62,7 @@ walkable potion floor
 
 tile LOOSE 11 none
 floor walkable
+loosemoving@Danger@info->action==eLosMoving
 
 tile TAPESTRY_TOP 12 ttop
 gateFrame
diff --git a/FP/src/res/maps.c b/FP/src/res/maps.c
index fdfc3b4..cd00d6d 100644
--- a/FP/src/res/maps.c
+++ b/FP/src/res/maps.c
@@ -443,7 +443,7 @@ void  mapMove(tMap* map) {
 			break;
 		case eLosMoving:
 			if (map->dangers[i].frame) map->dangers[i].frame++;
-			if (map->dangers[i].frame==7) map->dangers[i].action=eLosDown;
+			if (map->dangers[i].frame==11) map->dangers[i].action=eLosDown;
 			break;
 		default:
 			break;