aboutsummaryrefslogtreecommitdiff
path: root/muswd.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-03-03 11:18:16 +0000
committerrodri <rgl@antares-labs.eu>2023-03-03 11:18:16 +0000
commit9712ec712cc6a57d416ef2b1e86d15ef161016df (patch)
treeb94613b42365f39f48bfaecf411c62a9da32ecaa /muswd.c
parent9b3fb3f39ab9bd2b86da35f000b35c28ccca51f5 (diff)
downloadmusw-9712ec712cc6a57d416ef2b1e86d15ef161016df.tar.gz
musw-9712ec712cc6a57d416ef2b1e86d15ef161016df.tar.bz2
musw-9712ec712cc6a57d416ef2b1e86d15ef161016df.zip
implemented toroidal warping. set a default font.
Diffstat (limited to 'muswd.c')
-rw-r--r--muswd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/muswd.c b/muswd.c
index 0813e48..fd4f183 100644
--- a/muswd.c
+++ b/muswd.c
@@ -352,8 +352,10 @@ partywalk:
player->oldkdown = player->kdown;
}
- while(p->u->timeacc >= Δt)
+ while(p->u->timeacc >= Δt){
p->u->step(p->u, Δt);
+ p->u->collide(p->u);
+ }
}
broadcaststate();