This commit is contained in:
jl777
2019-03-26 09:04:11 -11:00
parent 317b1a2498
commit ef1c722d2d
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ int random_tetromino(struct games_state *rs)
int32_t tetrisdata(struct games_player *P,void *ptr)
{
tetris_game *tg = ptr;
tetris_game *tg = (tetris_game *)ptr;
P->gold = tg->points;
P->dungeonlevel = tg->level;
return(0);