mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-15 10:46:44 -04:00
support adv files
This commit is contained in:
parent
7aaeccd1c3
commit
8cf3c928e9
6 changed files with 63 additions and 33 deletions
|
@ -352,7 +352,7 @@ static void mob_sound_event(TMOB *m, int event) {
|
|||
}
|
||||
}
|
||||
|
||||
void load_enemies(short *data,int size,int *grptr,TMOB *template,int32_t tsize)
|
||||
void load_enemies(short *data,int size,int *grptr,const TMOB *template,int32_t tsize)
|
||||
{
|
||||
int i;
|
||||
short cisla[256];
|
||||
|
@ -365,7 +365,7 @@ void load_enemies(short *data,int size,int *grptr,TMOB *template,int32_t tsize)
|
|||
for(i=0;i<size;i++)
|
||||
{
|
||||
int j,c,cnt;
|
||||
TMOB *b;
|
||||
const TMOB *b;
|
||||
|
||||
b=template;
|
||||
cnt=tsize/sizeof(TMOB);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue