RogueViz stuff

This commit is contained in:
Zeno Rogue 2019-09-23 01:05:59 +02:00
parent c3975e80ef
commit dca95aa2aa
2 changed files with 2 additions and 1 deletions

View File

@ -1275,6 +1275,7 @@ void queue_prec(const transmatrix& V, edgeinfo*& ei, color_t col) {
bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
if(m->dead) return true;
if(m->type != moRogueviz) return false;
int i = m->pid;
vertexdata& vd = vdata[i];

View File

@ -1798,7 +1798,7 @@ EX bool dragonbreath(cell *dragon) {
void moveMonster(monster *m, int delta) {
bool inertia_based = m->type == moAsteroid;
bool inertia_based = m->type == moAsteroid || m->type == moRogueviz;
bool stunned = m->stunoff > curtime || m->blowoff > curtime;