This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
jtmm2-old/src/player_modifiers.c

12 lines
225 B
C

#include "player.h"
void player_mod_ice(Player *player) {
player->vars.acceleration /= 2;
player->vars.friction /= 2;
}
void player_mod_glue(Player *player) {
player->vars.acceleration = 0;
player->vars.friction = 1;
}