diff --git a/rogueviz-kohonen.cpp b/rogueviz-kohonen.cpp index ffb237c8..8278d2d9 100644 --- a/rogueviz-kohonen.cpp +++ b/rogueviz-kohonen.cpp @@ -594,14 +594,16 @@ int showsample(int id) { return isize(samples_shown) - 1; } -void showsample(string s) { - if(s == "") return; +int showsample(string s) { + if(s == "") return -1; + int ret = -1; for(int i=0; i