Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Kim
OpenRCT2-mod
Commits
6bb4bded
Commit
6bb4bded
authored
7 years ago
by
Michał Janiszewski
Committed by
Michał Janiszewski
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Minor formatting changes
parent
ce9e6e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/openrct2/cmdline_sprite.c
+4
-1
src/openrct2/cmdline_sprite.c
with
4 additions
and
1 deletion
+4
-1
src/openrct2/cmdline_sprite.c
+
4
-
1
View file @
6bb4bded
...
...
@@ -816,7 +816,10 @@ sint32 cmdline_for_sprite(const char **argv, sint32 argc)
uint8
*
buffer
;
int
bufferLength
;
if
(
!
sprite_file_import
(
imagePath
,
x_offset
==
NULL
?
0
:
json_integer_value
(
x_offset
),
y_offset
==
NULL
?
0
:
json_integer_value
(
y_offset
),
keep_palette
,
&
spriteElement
,
&
buffer
,
&
bufferLength
,
gSpriteMode
))
if
(
!
sprite_file_import
(
imagePath
,
x_offset
==
NULL
?
0
:
json_integer_value
(
x_offset
),
y_offset
==
NULL
?
0
:
json_integer_value
(
y_offset
),
keep_palette
,
&
spriteElement
,
&
buffer
,
&
bufferLength
,
gSpriteMode
))
{
fprintf
(
stderr
,
"Could not import image file: %s
\n
Canceling
\n
"
,
imagePath
);
json_decref
(
sprite_list
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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
Menu
Projects
Groups
Snippets
Help