mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-06 00:33:01 +00:00
render entities only if visible
This commit is contained in:
@@ -116,6 +116,8 @@ struct entity {
|
||||
double gwhere_x, gwhere_y;
|
||||
double gvel_x, gvel_y;
|
||||
|
||||
bool visible(room *r);
|
||||
|
||||
void clearg() {
|
||||
gwhere_x = where_x;
|
||||
gwhere_y = where_y;
|
||||
|
||||
Reference in New Issue
Block a user