NyakoFox 8c70c9eb97 Set id and loose_extra fields no matter what
The PR #1278 seems to have introduced a segfault. When an empty music
track is found, it skips past `id` (and `loose_extra`) being set.
Functions which use `id` expect a string, not NULL, causing a crash
whenever `isextra` is called, which happens to be every time the
`music` or `play` commands are invoked.

This fix simply moves the setting of these variables upwards, BEFORE
the valid check, to make sure they're always set.
2026-05-14 18:15:43 -04:00
2024-01-02 22:27:05 +01:00
2026-05-05 16:51:13 -04:00
2024-01-02 22:27:05 +01:00
2024-01-08 19:17:44 -08:00
2024-01-02 22:27:05 +01:00
2024-01-02 22:27:05 +01:00
2025-05-06 22:06:48 -04:00

logo

This is the source code to VVVVVV, the 2010 indie game by Terry Cavanagh, with music by Magnus Pålsson. You can read the announcement of the source code release on Terry's blog!

The source code for the desktop version is in this folder.

VVVVVV is still commercially available at thelettervsixtim.es if you'd like to support it, but you are completely free to compile the game for your own personal use. If you're interested in distributing a compiled version of the game, see LICENSE.md for more information.

Discussion about VVVVVV updates mainly happens on the "unofficial" VVVVVV discord, in the vvvvvv-code channel.

Credits

S
Description
The source code to VVVVVV! http://thelettervsixtim.es/
Readme 28 MiB
Languages
ActionScript 54.3%
C++ 44.4%
C 0.7%
Java 0.4%
CMake 0.2%