1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

rogueviz:: list of portal scenes in portal collection

This commit is contained in:
Zeno Rogue
2023-12-27 16:25:33 +01:00
parent ffda562f7c
commit 2f1bb092b8
3 changed files with 11 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ string get_slidename(const string& s) {
return s.substr(i);
}
string get_foldername(const string& s) {
EX string get_foldername(const string& s) {
int i = 0;
for(int k=0; k<isize(s); k++) if(s[k] == '/') i = k+1;
return s.substr(0, i);