mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
create a fake info for an unknown princess
This commit is contained in:
parent
a614af8dbe
commit
0f1c8ec102
@ -528,7 +528,7 @@ struct info {
|
|||||||
|
|
||||||
EX int reviveAt;
|
EX int reviveAt;
|
||||||
|
|
||||||
vector<info*> infos;
|
EX vector<info*> infos;
|
||||||
|
|
||||||
void assign(info *i) {
|
void assign(info *i) {
|
||||||
if(i->alt) i->alt->emeraldval = i->id;
|
if(i->alt) i->alt->emeraldval = i->id;
|
||||||
@ -667,6 +667,7 @@ struct info {
|
|||||||
printf("Warning: unknown princess\n");
|
printf("Warning: unknown princess\n");
|
||||||
if(!cheater)
|
if(!cheater)
|
||||||
addMessage("Warning: unknown princess (that's a bug, please report)");
|
addMessage("Warning: unknown princess (that's a bug, please report)");
|
||||||
|
newFakeInfo(ct);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
changes.value_keep(*i);
|
changes.value_keep(*i);
|
||||||
|
Loading…
Reference in New Issue
Block a user