home · contact · privacy
Removed redundant condition.
[plomrogue] / src / roguelike.c
index 525a8cfd0576f8f76113f7f36dedec809127022b..b38c01b2ceb6b786c718bcb8894d0fe8e9623dec 100644 (file)
@@ -132,7 +132,7 @@ void move_monster (struct World * world, struct Monster * monster) {
       break; } }
   if (met_monster)
     update_log (world, "\nMonster hits monster.");
-  else if (0 == met_monster && is_passable(world->map, t.y, t.x))
+  else if (is_passable(world->map, t.y, t.x))
     monster->pos = t; }
 
 void move_player (struct World * world, char d) {