From 9e329b9fd1437724e30d4ae1fa5290aaa1e62fe6 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 11 Dec 2013 16:37:08 +0400 Subject: [PATCH] Fix a minor bug in fsg --- pkgs/games/fsg/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/fsg/default.nix b/pkgs/games/fsg/default.nix index 7a9dc1105408..a4579ad2ae36 100644 --- a/pkgs/games/fsg/default.nix +++ b/pkgs/games/fsg/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation { sed -e ' s@currentProbIndex != 100@0@; ' -i MainFrame.cpp + sed -re '/ctrans_prob/s/energy\[center][+]energy\[other]/(int)(fmin(energy[center]+energy[other],99))/g' -i Canvas.cpp ''; installPhase = ''