mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-16 11:16:42 -04:00
boat in exploration is drawn by compositor
This commit is contained in:
parent
232dae6708
commit
05c1f952c4
12 changed files with 323 additions and 72 deletions
|
@ -217,7 +217,7 @@ void sanitize_map() {
|
|||
s->sec = 0;
|
||||
}
|
||||
if ((s->oblouk & 0x0F)> max_obl) {
|
||||
s->oblouk &= ~0x0F;
|
||||
s->oblouk &= ~0x0F;
|
||||
}
|
||||
if (s->prim + (s->prim_anim & 0xF) > max_side) {
|
||||
s->prim_anim = max_side - (s->prim_anim & 0xF);
|
||||
|
@ -226,7 +226,7 @@ void sanitize_map() {
|
|||
s->sec_anim = max_side - (s->sec_anim & 0xF);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
int load_map(const char *filename)
|
||||
|
@ -1182,6 +1182,7 @@ void check_players_place(char mode) {
|
|||
if (map_sectors[sect].sector_type != S_LODKA && lodka) {
|
||||
set_backgrnd_mode(0);
|
||||
lodka = 0;
|
||||
hide_boat();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue