mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-04 05:18:17 -04:00
linux fix issues
This commit is contained in:
parent
2d7697174d
commit
86dd699c69
8 changed files with 115 additions and 32 deletions
|
@ -541,6 +541,7 @@ LETICI_VEC *create_fly()
|
|||
p->items=NULL;
|
||||
p->item=0;
|
||||
p->lives=0;
|
||||
p->anim_pos = 0;
|
||||
return p;
|
||||
}
|
||||
|
||||
|
@ -1295,7 +1296,12 @@ void group_all(void)
|
|||
void destroy_player_map() //je nutne volat pred presunem postav
|
||||
{
|
||||
int i;
|
||||
for(i=0;i<POCET_POSTAV;i++) map_coord[postavy[i].sektor].flags&=~(MC_DPLAYER | MC_SAFEPLACE);
|
||||
for(i=0;i<POCET_POSTAV;i++) {
|
||||
int s = postavy[i].sektor;
|
||||
if (s > 0 && s < mapsize) {
|
||||
map_coord[s].flags&=~(MC_DPLAYER | MC_SAFEPLACE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void build_player_map() //je nutne volat po presunu postav
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue