mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-16 15:53:17 +00:00
rogueviz::ads:: in DS game, set resource to none to be safe
This commit is contained in:
parent
9c9b37f2fb
commit
bd2bc5a97a
@ -22,7 +22,7 @@ struct rock_generator {
|
||||
|
||||
ads_object* add(transmatrix T) {
|
||||
auto r = std::make_unique<ads_object> (oRock, nullptr, ads_matrix(T, cshift), 0xFFFFFFFF);
|
||||
r->shape = &shape_disk;
|
||||
r->shape = &shape_disk; r->resource = rtNone;
|
||||
auto res = &*r;
|
||||
rocks.emplace_back(std::move(r));
|
||||
return res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user