Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C++ Abschlussprojekt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Leon Niklas Lux
C++ Abschlussprojekt
Commits
e3b8d307
Unverified
Commit
e3b8d307
authored
3 months ago
by
Leon Niklas Lux
Committed by
Leon Lux
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Truncate zu saveChanges hinzugefügt.
parent
5f7fc29d
No related branches found
No related tags found
1 merge request
!55
Abgabe des Projektes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
liblvl/src/level.cpp
+1
-1
1 addition, 1 deletion
liblvl/src/level.cpp
with
1 addition
and
1 deletion
liblvl/src/level.cpp
+
1
−
1
View file @
e3b8d307
...
...
@@ -25,7 +25,7 @@ Level::Level(const fs::path &path)
void
Level
::
saveChanges
(
const
fs
::
path
&
path
)
const
{
HighFive
::
File
file
(
path
.
c_str
(),
HighFive
::
File
::
Create
);
HighFive
::
File
file
(
path
.
c_str
(),
HighFive
::
File
::
Create
|
HighFive
::
File
::
Truncate
);
m_Spritesheet
.
toHDF5
(
file
);
saveEnemies
(
file
);
saveRooms
(
file
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment