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
+++ b/examples/eclrenderer.rs
@@ -125,7 +125,7 @@ fn main() {
     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.