Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2019
Cpp
PhaseShifter
Commits
a133fd43
Commit
a133fd43
authored
Sep 20, 2019
by
Florian Oetke
Browse files
fixed possible error in level loading
parent
aa896962
Pipeline
#3338
passed with stage
in 8 minutes and 12 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/level/level.cpp
View file @
a133fd43
...
...
@@ -12,7 +12,7 @@ namespace mirrage::asset {
{
std
::
string
tileset_name
;
in
>>
tileset_name
;
in
.
ignore
();
in
.
ignore
(
std
::
numeric_limits
<
std
::
streamsize
>::
max
(),
'\n'
);
auto
tileset
=
in
.
manager
().
load
<
phase_shifter
::
level
::
Tileset
>
(
AID
(
"tiles:"
+
tileset_name
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment