mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Fix formatting and add an INBOUNDS_VEC
If `setactivitytext` was the last line in a script, the command would index the vector out of bounds. I also modified the formatting to keep consistent with the rest of the codebase.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
b15e25f106
commit
656941202a
@@ -1056,7 +1056,9 @@ void entityclass::createblock( int t, int xp, int yp, int w, int h, int trig /*=
|
||||
if (custom)
|
||||
{
|
||||
block.prompt = "Press %s to interact";
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
block.prompt = "Press %s to activate terminal";
|
||||
}
|
||||
block.script = "custom_"+customscript;
|
||||
|
||||
Reference in New Issue
Block a user