Fix setting
This commit is contained in:
parent
34704a934a
commit
c4bd226d8f
5 changed files with 8 additions and 5 deletions
3
game.h
3
game.h
|
@ -300,7 +300,7 @@ struct
|
|||
|
||||
struct
|
||||
{
|
||||
int state; ///< -1 if reading external data f., else pos.
|
||||
int32_t state; ///< -1 if reading external data f., else pos.
|
||||
|
||||
// Indices and counts are among the data of the same type.
|
||||
unsigned int firstItemIndex;
|
||||
|
@ -628,6 +628,7 @@ char LCR_gameGetNextDataFileChar(void)
|
|||
|
||||
if (c == 0)
|
||||
{
|
||||
LCR_appendDataStr("");
|
||||
c = LCR_getNextDataFileChar();
|
||||
LCR_game.dataFile.state = c ? -1 : 0; // trust this
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue