mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-18 15:37:40 +00:00
implemented the magic fountains (except ghosts and bones mechanics)
This commit is contained in:
@@ -105,8 +105,9 @@ void load_room(fhstream& f, cell *c) {
|
||||
string cap = s.substr(0, pos);
|
||||
string param = s.substr(pos+1);
|
||||
if(cap == "START") {
|
||||
current_room = &r;
|
||||
fountain_room = current_room = &r;
|
||||
sscanf(param.c_str(), "%lf%lf", &m.where.x, &m.where.y);
|
||||
fountain_where = m.where;
|
||||
}
|
||||
else if(cap == "ITEM") {
|
||||
auto b = std::make_unique<item>();
|
||||
|
Reference in New Issue
Block a user