Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

FileReadLine() prints an error during Debug builds which should be removed #583

@MyNameIsTrez

Description

@MyNameIsTrez

Describe the bug
This is reached when the opened file ends with a newline. This line is causing FileReadLine() to print an error:
image

The ifndef and print statement should simply not have ever been put there in the first place.

To Reproduce
Steps to reproduce the behavior:

  1. Download unmappedlands2.rte.zip and drop it into the Mods/ folder, on the latest Development branch
  2. Open the Unmapped Lands 2 activity
  3. In the console you'll see Error: Tried to read past EOF. printed several times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions