summaryrefslogtreecommitdiff
path: root/src/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit.c')
-rw-r--r--src/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exit.c b/src/exit.c
index e1a4909..c6ad4cb 100644
--- a/src/exit.c
+++ b/src/exit.c
@@ -7,10 +7,11 @@ IMPL_UPDATE() {
IMPL_DRAW() {
LZY_DrawSetColor(BLACK);
rotrect(this->pos[0], this->pos[1],
- this->width, this->height, 0.2);
+ this->width, this->height, 0.2 * this->exit.dir);
} IMPL_END
IMPL_INIT(exit) {
this->width = 12;
this->height = 12;
+ this->exit.dir = 1;
} IMPL_END