Finding old commits?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wobbly
    Prophet
    • May 2012
    • 2629

    Finding old commits?

    Hi I'm looking for the old commit where lava was added into the game. Is there an easy way to find this?
  • Pete Mack
    Prophet
    • Apr 2007
    • 6883

    #2
    git history if terrain.txt.

    Comment

    • wobbly
      Prophet
      • May 2012
      • 2629

      #3
      Thanks, though I can't find it there. Presumably lava is older then the branch? I can see it's there already in 4.0

      Found what was stuffing me up anyway, this line in cave-map.c

      Code:
      assert((int) g->f_idx <= FEAT_PASS_RUBBLE);
      seems to mean any new terrain has to go before passable rubble in terrain.txt

      Comment

      • Nick
        Vanilla maintainer
        • Apr 2007
        • 9634

        #4
        Originally posted by wobbly
        Thanks, though I can't find it there. Presumably lava is older then the branch? I can see it's there already in 4.0

        Found what was stuffing me up anyway, this line in cave-map.c

        Code:
        assert((int) g->f_idx <= FEAT_PASS_RUBBLE);
        seems to mean any new terrain has to go before passable rubble in terrain.txt
        Thanks, that's really poor coding; I'll file it as a bug.
        One for the Dark Lord on his dark throne
        In the Land of Mordor where the Shadows lie.

        Comment

        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎