Skip to content
Snippets Groups Projects
Commit 58077147 authored by Andreas Blakli's avatar Andreas Blakli
Browse files

Fikset mindre bug i lesData() funk som brukte feil const verdi i bane.cpp.

parent 14973a5e
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ Bane::~Bane() {
}
void Bane::lesData() {
antallVogner = lesInt("Antall vogner", MAX_ANTALL_VOGNER, MIN_ANTALL_VOGNER);
antallVogner = lesInt("Antall vogner", MIN_ANTALL_VOGNER, MAX_ANTALL_VOGNER);
baneLengde = lesInt("Banelengde", MIN_BANELENGDE, MAX_BANELENGDE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment