mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
windows release build, fix book crash, fix lock, fix finale
This commit is contained in:
parent
3d8ee275e4
commit
d13297e4f4
24 changed files with 158 additions and 63 deletions
|
@ -1207,7 +1207,7 @@ static void play_wav(int wav,int sector)
|
|||
static void play_random_sound(int sector,int dir,int pos)
|
||||
{
|
||||
int seed;
|
||||
int v;
|
||||
int v=0;
|
||||
|
||||
seed=rand();
|
||||
srand(sector+dir);
|
||||
|
@ -1264,7 +1264,7 @@ void fletna_glob_add_note(uint8_t note)
|
|||
if (strlen(globFletnaStr)<250) strcat(globFletnaStr,globNotes[note]);
|
||||
}
|
||||
|
||||
static char compareMelody(const char *m1,const char *m2)
|
||||
static int compareMelody(const char *m1,const char *m2)
|
||||
{
|
||||
while (*m1 && *m2)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue