changeset 670:cdb484115c5b

Use the requested rank in eclrenderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Aug 2019 15:10:39 +0200
parents 1bb8b34dbd32
children 266911c0ccfd
files examples/eclrenderer.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/eclrenderer.rs	Mon Aug 12 15:10:19 2019 +0200
+++ b/examples/eclrenderer.rs	Mon Aug 12 15:10:39 2019 +0200
@@ -125,7 +125,7 @@
     let prng = Rc::new(RefCell::new(Prng::new(0)));
 
     // Create the Game god object.
-    let game = Game::new(prng, Rank::Normal);
+    let game = Game::new(prng, rank);
     let game = Rc::new(RefCell::new(game));
 
     // And the enemy object.