mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-22 23:17:24 -04:00
support for new SEQ format and idle animations
This commit is contained in:
parent
3463d8e720
commit
2ce5f77825
9 changed files with 284 additions and 93 deletions
|
@ -453,8 +453,10 @@ int load_map_state_ex(const char *level_fname, int mapsize, char partial)
|
|||
{
|
||||
for(i=0;i<MAX_MOBS;(mobs[i].vlajky &=~MOB_LIVE),i++);
|
||||
while (temp_storage_read(&i,sizeof(i),fsta) && i>=0 && i<=MAX_MOBS) {
|
||||
int h = mobs[i].cislo_vzoru;
|
||||
if (temp_storage_read(mobs+i,1*sizeof(TMOB),fsta)!=sizeof(TMOB)) goto err;
|
||||
mobs[i].vlajky2 = 0;
|
||||
mobs[i].cislo_vzoru = h;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue